1
0
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:
Marcel Link 2022-06-01 01:58:01 +02:00 committed by GitHub
parent edadaf8f93
commit 0bc3fdbdaa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -23,6 +23,15 @@
"main": "decimal",
"module": "decimal.mjs",
"browser": "decimal.js",
"exports": {
".": {
"import": {
"types": "./decimal.d.ts",
"default": "./decimal.mjs"
},
"require": "./decimal.js"
}
},
"author": {
"name": "Michael Mclaughlin",
"email": "M8ch88l@gmail.com"