diff options
| author | ST-DDT <[email protected]> | 2024-03-15 17:34:11 +0100 |
|---|---|---|
| committer | GitHub <[email protected]> | 2024-03-15 16:34:11 +0000 |
| commit | 2f074835e60240d8ac53e2d42fc7b5dac85d05b8 (patch) | |
| tree | 78d9280aed6a81f1fba00bef4fc76f43f6635102 | |
| parent | 2a50c76857214a5471933a919e1e102642052bda (diff) | |
| download | faker-2f074835e60240d8ac53e2d42fc7b5dac85d05b8.tar.xz faker-2f074835e60240d8ac53e2d42fc7b5dac85d05b8.zip | |
fix: restore support for moduleResolution Node* (#2749)
| -rw-r--r-- | package.json | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/package.json b/package.json index 13fe980e..d0dcb016 100644 --- a/package.json +++ b/package.json @@ -31,7 +31,14 @@ "type": "module", "main": "dist/index.cjs", "module": "dist/index.js", - "types": "dist/types/index.d.ts", + "types": "index.d.ts", + "typesVersions": { + ">=5.0": { + "*": [ + "dist/types/*" + ] + } + }, "exports": { ".": { "types": "./dist/types/index.d.ts", |
