Skip to content

Commit

Permalink
Support import() package types
Browse files Browse the repository at this point in the history
  • Loading branch information
matthew44-mappable committed Aug 27, 2024
1 parent c51c12c commit c90e65a
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/index.ts
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
export {MMapHint, MMapHintContext} from './MMapHint';
export * from './types';
7 changes: 7 additions & 0 deletions src/types.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
declare module '@mappable-world/mappable-types/import' {
interface Import {
(pkg: '@mappable-world/mappable-hint'): Promise<typeof import('./index')>;
}
}

export {};

0 comments on commit c90e65a

Please sign in to comment.