Skip to content

Commit 1167748

Browse files
fix: compatibility with Typescript V4
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.
1 parent 1370497 commit 1167748

1 file changed

Lines changed: 7 additions & 1 deletion

File tree

src/index.ts

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,10 @@
1-
export type * from './types.js';
1+
export type {
2+
UUIDTypes,
3+
Version1Options,
4+
Version4Options,
5+
Version6Options,
6+
Version7Options,
7+
} from './types.js';
28
export { default as MAX } from './max.js';
39
export { default as NIL } from './nil.js';
410
export { default as parse } from './parse.js';

0 commit comments

Comments
 (0)