Skip to content

Commit

Permalink
fix: optimize type prompt (#651)
Browse files Browse the repository at this point in the history
  • Loading branch information
zhoushaw authored Nov 20, 2023
1 parent 8cf428f commit 6c52699
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

1 comment on commit 6c52699

@vercel
Copy link

@vercel vercel bot commented on 6c52699 Nov 20, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.