Skip to content

Commit

Permalink
fix: compatibility with Typescript V4
Browse files Browse the repository at this point in the history
With uuidjs#833 the type export was added, but the `export type *` syntax is only available since Typescript V5. Using direct imports should resolve the issue.
  • Loading branch information
bobvandevijver authored Nov 11, 2024
1 parent 1370497 commit 1167748
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,10 @@
export type * from './types.js';
export type {
UUIDTypes,
Version1Options,
Version4Options,
Version6Options,
Version7Options,
} from './types.js';
export { default as MAX } from './max.js';
export { default as NIL } from './nil.js';
export { default as parse } from './parse.js';
Expand Down

0 comments on commit 1167748

Please sign in to comment.