Skip to content

Commit

Permalink
Improve ESM TypeScript support
Browse files Browse the repository at this point in the history
  • Loading branch information
benasher44 committed Jan 5, 2024
1 parent 841bbcc commit 6a1642f
Show file tree
Hide file tree
Showing 5 changed files with 846 additions and 1,445 deletions.
10 changes: 5 additions & 5 deletions lib/index.d.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
export * from './array';
export * from './collection';
export * from './fn';
export * from './lang';
export * from './object';
export * from './array.js';
export * from './collection.js';
export * from './fn.js';
export * from './lang.js';
export * from './object.js';
2 changes: 1 addition & 1 deletion lib/lang.d.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import {
Collection
} from './collection';
} from './collection.js';

export function isUndefined(obj: any): obj is null | undefined;
export function isDefined(obj: any): obj is Exclude<any, null | undefined>;
Expand Down
Loading

0 comments on commit 6a1642f

Please sign in to comment.