Skip to content

Commit

Permalink
Fix error where typings could not be resolved in vscode #1673
Browse files Browse the repository at this point in the history
  • Loading branch information
Havunen committed Jan 25, 2025
1 parent 6bc8c99 commit b46181c
Show file tree
Hide file tree
Showing 15 changed files with 30 additions and 15 deletions.
3 changes: 2 additions & 1 deletion packages/inferno-animation/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,8 @@
"exports": {
".": {
"import": "./dist/index.mjs",
"require": "./index.cjs"
"require": "./index.cjs",
"types": "./dist/index.d.ts"
},
"./dist/index.dev.mjs": "./dist/index.dev.mjs",
"./dist/index.mjs": "./dist/index.mjs"
Expand Down
3 changes: 2 additions & 1 deletion packages/inferno-clone-vnode/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,8 @@
"exports": {
".": {
"import": "./dist/index.mjs",
"require": "./index.cjs"
"require": "./index.cjs",
"types": "./dist/index.d.ts"
},
"./dist/index.dev.mjs": "./dist/index.dev.mjs",
"./dist/index.mjs": "./dist/index.mjs"
Expand Down
3 changes: 2 additions & 1 deletion packages/inferno-compat/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,8 @@
"exports": {
".": {
"import": "./dist/index.mjs",
"require": "./index.cjs"
"require": "./index.cjs",
"types": "./dist/index.d.ts"
},
"./dist/index.dev.mjs": "./dist/index.dev.mjs",
"./dist/index.mjs": "./dist/index.mjs"
Expand Down
3 changes: 2 additions & 1 deletion packages/inferno-create-element/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,8 @@
"exports": {
".": {
"import": "./dist/index.mjs",
"require": "./index.cjs"
"require": "./index.cjs",
"types": "./dist/index.d.ts"
},
"./dist/index.dev.mjs": "./dist/index.dev.mjs",
"./dist/index.mjs": "./dist/index.mjs"
Expand Down
3 changes: 2 additions & 1 deletion packages/inferno-extras/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,8 @@
"exports": {
".": {
"import": "./dist/index.mjs",
"require": "./index.cjs"
"require": "./index.cjs",
"types": "./dist/index.d.ts"
},
"./dist/index.dev.mjs": "./dist/index.dev.mjs",
"./dist/index.mjs": "./dist/index.mjs"
Expand Down
3 changes: 2 additions & 1 deletion packages/inferno-hydrate/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,8 @@
"exports": {
".": {
"import": "./dist/index.mjs",
"require": "./index.cjs"
"require": "./index.cjs",
"types": "./dist/index.d.ts"
},
"./dist/index.dev.mjs": "./dist/index.dev.mjs",
"./dist/index.mjs": "./dist/index.mjs"
Expand Down
3 changes: 2 additions & 1 deletion packages/inferno-hyperscript/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@
"exports": {
".": {
"import": "./dist/index.mjs",
"require": "./index.cjs"
"require": "./index.cjs",
"types": "./dist/index.d.ts"
},
"./dist/index.dev.mjs": "./dist/index.dev.mjs",
"./dist/index.mjs": "./dist/index.mjs"
Expand Down
3 changes: 2 additions & 1 deletion packages/inferno-mobx/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,8 @@
"exports": {
".": {
"import": "./dist/index.mjs",
"require": "./index.cjs"
"require": "./index.cjs",
"types": "./dist/index.d.ts"
},
"./dist/index.dev.mjs": "./dist/index.dev.mjs",
"./dist/index.mjs": "./dist/index.mjs"
Expand Down
3 changes: 2 additions & 1 deletion packages/inferno-redux/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,8 @@
"exports": {
".": {
"import": "./dist/index.mjs",
"require": "./index.cjs"
"require": "./index.cjs",
"types": "./dist/index.d.ts"
},
"./dist/index.dev.mjs": "./dist/index.dev.mjs",
"./dist/index.mjs": "./dist/index.mjs"
Expand Down
3 changes: 2 additions & 1 deletion packages/inferno-router/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,8 @@
"exports": {
".": {
"import": "./dist/index.mjs",
"require": "./index.cjs"
"require": "./index.cjs",
"types": "./dist/index.d.ts"
},
"./dist/index.dev.mjs": "./dist/index.dev.mjs",
"./dist/index.mjs": "./dist/index.mjs"
Expand Down
3 changes: 2 additions & 1 deletion packages/inferno-server/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,8 @@
"exports": {
".": {
"import": "./index.mjs",
"require": "./index.cjs"
"require": "./index.cjs",
"types": "./dist/index.d.ts"
},
"./dist/index.dev.mjs": "./dist/index.dev.mjs",
"./dist/index.mjs": "./dist/index.mjs"
Expand Down
3 changes: 2 additions & 1 deletion packages/inferno-shared/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,8 @@
"exports": {
".": {
"import": "./dist/index.mjs",
"require": "./index.cjs"
"require": "./index.cjs",
"types": "./dist/index.d.ts"
},
"./dist/index.dev.mjs": "./dist/index.dev.mjs",
"./dist/index.mjs": "./dist/index.mjs"
Expand Down
3 changes: 2 additions & 1 deletion packages/inferno-test-utils/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,8 @@
"exports": {
".": {
"import": "./dist/index.mjs",
"require": "./index.cjs"
"require": "./index.cjs",
"types": "./dist/index.d.ts"
},
"./dist/index.dev.mjs": "./dist/index.dev.mjs",
"./dist/index.mjs": "./dist/index.mjs"
Expand Down
3 changes: 2 additions & 1 deletion packages/inferno-vnode-flags/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@
"exports": {
".": {
"import": "./dist/index.mjs",
"require": "./index.cjs"
"require": "./index.cjs",
"types": "./dist/index.d.ts"
},
"./dist/index.dev.mjs": "./dist/index.dev.mjs",
"./dist/index.mjs": "./dist/index.mjs"
Expand Down
3 changes: 2 additions & 1 deletion packages/inferno/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,8 @@
"exports": {
".": {
"import": "./index.mjs",
"require": "./index.cjs"
"require": "./index.cjs",
"types": "./dist/index.d.ts"
},
"./dist/index.dev.mjs": "./dist/index.dev.mjs",
"./dist/index.mjs": "./dist/index.mjs"
Expand Down

0 comments on commit b46181c

Please sign in to comment.