Skip to content

Commit

Permalink
fix: optimize type prompt
Browse files Browse the repository at this point in the history
  • Loading branch information
zhoushaw committed Nov 20, 2023
1 parent 8cf428f commit 800a12d
Show file tree
Hide file tree
Showing 16 changed files with 32 additions and 16 deletions.
3 changes: 2 additions & 1 deletion packages/bridge-react-v18/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,8 @@
"exports": {
".": {
"import": "./dist/esm/index.js",
"require": "./dist/index.js"
"require": "./dist/index.js",
"types": "./dist/index.d.ts"
},
"./*": "./*"
},
Expand Down
3 changes: 2 additions & 1 deletion packages/bridge-react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,8 @@
"exports": {
".": {
"import": "./dist/esm/index.js",
"require": "./dist/index.js"
"require": "./dist/index.js",
"types": "./dist/index.d.ts"
},
"./*": "./*"
},
Expand Down
3 changes: 2 additions & 1 deletion packages/bridge-vue-v2/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,8 @@
"exports": {
".": {
"import": "./dist/esm/index.js",
"require": "./dist/index.js"
"require": "./dist/index.js",
"types": "./dist/index.d.ts"
},
"./*": "./*"
},
Expand Down
3 changes: 2 additions & 1 deletion packages/bridge-vue-v3/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,8 @@
"exports": {
".": {
"import": "./dist/esm/index.js",
"require": "./dist/index.js"
"require": "./dist/index.js",
"types": "./dist/index.d.ts"
},
"./*": "./*"
},
Expand Down
3 changes: 2 additions & 1 deletion packages/browser-snapshot/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@
"exports": {
".": {
"import": "./dist/esm/index.js",
"require": "./dist/index.js"
"require": "./dist/index.js",
"types": "./dist/index.d.ts"
},
"./*": "./*"
},
Expand Down
3 changes: 2 additions & 1 deletion packages/browser-vm/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@
"exports": {
".": {
"import": "./dist/esm/index.js",
"require": "./dist/index.js"
"require": "./dist/index.js",
"types": "./dist/index.d.ts"
},
"./*": "./*"
},
Expand Down
3 changes: 2 additions & 1 deletion packages/core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,8 @@
"exports": {
".": {
"import": "./dist/esm/index.js",
"require": "./dist/index.js"
"require": "./dist/index.js",
"types": "./dist/index.d.ts"
},
"./*": "./*"
},
Expand Down
3 changes: 2 additions & 1 deletion packages/css-scope/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@
"exports": {
".": {
"import": "./dist/esm/index.js",
"require": "./dist/index.js"
"require": "./dist/index.js",
"types": "./dist/index.d.ts"
},
"./*": "./*"
},
Expand Down
3 changes: 2 additions & 1 deletion packages/es-module/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@
"exports": {
".": {
"import": "./dist/esm/index.js",
"require": "./dist/index.js"
"require": "./dist/index.js",
"types": "./dist/index.d.ts"
},
"./*": "./*"
},
Expand Down
3 changes: 2 additions & 1 deletion packages/garfish/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@
"exports": {
".": {
"import": "./dist/esm/index.js",
"require": "./dist/index.js"
"require": "./dist/index.js",
"types": "./index.d.ts"
},
"./*": "./*"
},
Expand Down
3 changes: 2 additions & 1 deletion packages/hooks/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@
"exports": {
".": {
"import": "./dist/esm/index.js",
"require": "./dist/index.js"
"require": "./dist/index.js",
"types": "./dist/index.d.ts"
},
"./*": "./*"
},
Expand Down
3 changes: 2 additions & 1 deletion packages/loader/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@
"exports": {
".": {
"import": "./dist/esm/index.js",
"require": "./dist/index.js"
"require": "./dist/index.js",
"types": "./dist/index.d.ts"
},
"./*": "./*"
},
Expand Down
3 changes: 2 additions & 1 deletion packages/remote-module/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@
"exports": {
".": {
"import": "./dist/esm/index.js",
"require": "./dist/index.js"
"require": "./dist/index.js",
"types": "./dist/index.d.ts"
},
"./*": "./*"
},
Expand Down
3 changes: 2 additions & 1 deletion packages/router/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@
"exports": {
".": {
"import": "./dist/esm/index.js",
"require": "./dist/index.js"
"require": "./dist/index.js",
"types": "./dist/index.d.ts"
},
"./*": "./*"
},
Expand Down
3 changes: 2 additions & 1 deletion packages/test-suite/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@
"exports": {
".": {
"import": "./dist/esm/index.js",
"require": "./dist/index.js"
"require": "./dist/index.js",
"types": "./dist/index.d.ts"
},
"./*": "./*"
},
Expand Down
3 changes: 2 additions & 1 deletion packages/utils/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@
"exports": {
".": {
"import": "./dist/esm/index.js",
"require": "./dist/index.js"
"require": "./dist/index.js",
"types": "./dist/index.d.ts"
},
"./*": "./*"
},
Expand Down

0 comments on commit 800a12d

Please sign in to comment.