Skip to content

Commit 239256a

Browse files
committed
Export type as type (required for deno compat) gvergnaud#108
1 parent 9dc6bb7 commit 239256a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/patterns.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ import {
1616
GuardExcludeP,
1717
} from './types/Pattern';
1818

19-
export { Pattern };
19+
export type { Pattern };
2020

2121
/**
2222
* `P.infer<typeof somePattern>` will return the type of the value

0 commit comments

Comments
 (0)