Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

export types.d.ts #310

Merged
merged 2 commits into from
May 29, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 6 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,11 @@
"module": "./modules/main.mjs",
"types": "./types.d.ts",
"exports": {
".": "./modules/main.mjs",
".": {
"import": "./modules/main.mjs",
"require": "./build/jsroot.js",
"types": "./types.d.ts"
},
"./core": "./modules/core.mjs",
"./draw": "./modules/draw.mjs",
"./io": "./modules/io.mjs",
Expand Down Expand Up @@ -133,4 +137,4 @@
"core-js": false,
"dompurify": false
}
}
}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please do not remove newline at the end

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done, sorry, my linter didn't like that