Skip to content

Commit

Permalink
Support import() package types (#2)
Browse files Browse the repository at this point in the history
* Support import() package types

* Update to deps latest

* remove deploy from pr
  • Loading branch information
matthew44-mappable authored Aug 27, 2024
1 parent c51c12c commit 3875eab
Show file tree
Hide file tree
Showing 5 changed files with 44 additions and 19 deletions.
1 change: 0 additions & 1 deletion .github/workflows/gh-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ on:
push:
branches:
- main
pull_request:

jobs:
build:
Expand Down
48 changes: 33 additions & 15 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,8 @@
"mappable-hint"
],
"devDependencies": {
"html-webpack-plugin": "^5.5.3",
"@mappable-world/mappable-cli": "^0.0.16",
"@mappable-world/mappable-types": "^0.0.4",
"@mappable-world/mappable-cli": "^0.0.36",
"@mappable-world/mappable-types": "^0.0.20",
"@types/got": "9.6.12",
"@types/jest": "29.5.3",
"@types/jsdom": "21.1.1",
Expand All @@ -46,6 +45,7 @@
"eslint-config-prettier": "8.8.0",
"eslint-plugin-prettier": "4.2.1",
"got": "11.8.6",
"html-webpack-plugin": "^5.5.3",
"identity-obj-proxy": "3.0.0",
"jest": "29.6.1",
"jsdom": "22.1.0",
Expand Down
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 3875eab

Please sign in to comment.