aboutsummaryrefslogtreecommitdiff
path: root/package.json
diff options
context:
space:
mode:
authorShinigami <[email protected]>2022-05-23 23:12:21 +0200
committerGitHub <[email protected]>2022-05-23 21:12:21 +0000
commitc704e36f692e69bbe23bdf05f4fdcccba4ce8b0f (patch)
treeeac4cc7d4dbe941043182867e64d81dbab13ffe8 /package.json
parent04117993e8754938f1a5f4543201b2d349b9d2aa (diff)
downloadfaker-c704e36f692e69bbe23bdf05f4fdcccba4ce8b0f.tar.xz
faker-c704e36f692e69bbe23bdf05f4fdcccba4ce8b0f.zip
fix: revert type exports for module NodeNext, Node16 (#979) (#989)
This reverts commit 73db3a77d95a21e320888228e39ebbf60d551451.
Diffstat (limited to 'package.json')
-rw-r--r--package.json4
1 files changed, 1 insertions, 3 deletions
diff --git a/package.json b/package.json
index 470cf823..a163a09a 100644
--- a/package.json
+++ b/package.json
@@ -23,7 +23,7 @@
"license": "MIT",
"main": "dist/cjs/index.js",
"module": "dist/esm/index.mjs",
- "types": "dist/types/index.d.ts",
+ "types": "index.d.ts",
"typesVersions": {
">=4.0": {
"*": [
@@ -33,12 +33,10 @@
},
"exports": {
".": {
- "types": "./dist/types/index.d.ts",
"require": "./dist/cjs/index.js",
"import": "./dist/esm/index.mjs"
},
"./locale/*": {
- "types": "./dist/types/locale/*.d.ts",
"require": "./dist/cjs/locale/*.js",
"import": "./dist/esm/locale/*.mjs"
},