Skip to content

Commit

Permalink
Export type as type (required for deno compat) gvergnaud#108
Browse files Browse the repository at this point in the history
  • Loading branch information
garronej committed Sep 15, 2022
1 parent 9dc6bb7 commit 239256a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/patterns.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ import {
GuardExcludeP,
} from './types/Pattern';

export { Pattern };
export type { Pattern };

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

0 comments on commit 239256a

Please sign in to comment.