mirror of
https://github.com/MikeMcl/decimal.js.git
synced 2024-10-27 20:34:12 +00:00
Fix typescript 4.7 / node16 import/type resolution
This commit is contained in:
parent
edadaf8f93
commit
0bc3fdbdaa
@ -23,6 +23,15 @@
|
|||||||
"main": "decimal",
|
"main": "decimal",
|
||||||
"module": "decimal.mjs",
|
"module": "decimal.mjs",
|
||||||
"browser": "decimal.js",
|
"browser": "decimal.js",
|
||||||
|
"exports": {
|
||||||
|
".": {
|
||||||
|
"import": {
|
||||||
|
"types": "./decimal.d.ts",
|
||||||
|
"default": "./decimal.mjs"
|
||||||
|
},
|
||||||
|
"require": "./decimal.js"
|
||||||
|
}
|
||||||
|
},
|
||||||
"author": {
|
"author": {
|
||||||
"name": "Michael Mclaughlin",
|
"name": "Michael Mclaughlin",
|
||||||
"email": "M8ch88l@gmail.com"
|
"email": "M8ch88l@gmail.com"
|
||||||
|
Loading…
Reference in New Issue
Block a user