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

fix(package.json): Provide correct types for moduleResolution: node, node10, and node16 #16

Merged
merged 11 commits into from
Jun 3, 2024
21 changes: 14 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,31 +25,38 @@
"exports": {
".": {
"import": "./esm/index.mjs",
"require": "./dist/index.js"
"require": "./dist/index.js",
"types": "./dist/index.d.ts"
manudeli marked this conversation as resolved.
Show resolved Hide resolved
},
"./array": {
"import": "./esm/array/index.mjs",
"require": "./dist/array/index.js"
"require": "./dist/array/index.js",
"types": "./dist/array/index.d.ts"
},
"./function": {
"import": "./esm/function/index.mjs",
"require": "./dist/function/index.js"
"require": "./dist/function/index.js",
"types": "./dist/function/index.d.ts"
},
"./math": {
"import": "./esm/math/index.mjs",
"require": "./dist/math/index.js"
"require": "./dist/math/index.js",
"types": "./dist/math/index.d.ts"
},
"./object": {
"import": "./esm/object/index.mjs",
"require": "./dist/object/index.js"
"require": "./dist/object/index.js",
"types": "./dist/object/index.d.ts"
},
"./predicate": {
"import": "./esm/predicate/index.mjs",
"require": "./dist/predicate/index.js"
"require": "./dist/predicate/index.js",
"types": "./dist/predicate/index.d.ts"
},
"./promise": {
"import": "./esm/promise/index.mjs",
"require": "./dist/promise/index.js"
"require": "./dist/promise/index.js",
"types": "./dist/promise/index.d.ts"
},
"./package.json": "./package.json"
}
Expand Down