We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 503fe6d commit aaa9c2aCopy full SHA for aaa9c2a
package.json
@@ -20,7 +20,10 @@
20
"types": "./dist/index.d.ts",
21
"exports": {
22
".": {
23
- "types": "./dist/index.d.ts",
+ "types": {
24
+ "require": "./dist/index.d.ts",
25
+ "import": "./dist/index.d.mts"
26
+ },
27
"require": "./dist/index.js",
28
"import": "./dist/index.mjs"
29
},
tsconfig.json
@@ -1,8 +1,8 @@
1
{
2
"compilerOptions": {
3
- "target": "es2021",
+ "target": "esnext",
4
"module": "esnext",
5
- "lib": ["es2019"],
+ "lib": ["es2022"],
6
"strict": true,
7
"esModuleInterop": true,
8
"moduleResolution": "node",
0 commit comments