Skip to content

Commit c6fe4e0

Browse files
committed
chore: upgrade to ts5 + fix types error
1 parent 8941273 commit c6fe4e0

File tree

11 files changed

+13
-13
lines changed

11 files changed

+13
-13
lines changed

deploy-space/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,6 @@
1111
},
1212
"dependencies": {
1313
"tslib": "^1.11.1",
14-
"typescript": "^3.8.3"
14+
"typescript": "^5"
1515
}
1616
}

docs/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
"devDependencies": {
3535
"@docusaurus/module-type-aliases": "^2.2.0",
3636
"@tsconfig/docusaurus": "^1.0.5",
37-
"typescript": "^4.7.4"
37+
"typescript": "^5"
3838
},
3939
"browserslist": {
4040
"production": [

modules/code-generator/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@
136136
"ts-loader": "^6.2.2",
137137
"ts-node": "^8.10.2",
138138
"tsconfig-paths": "^3.9.0",
139-
"typescript": "4.x",
139+
"typescript": "^5",
140140
"yargs-parser": "^20.2.9"
141141
},
142142
"engines": {

modules/code-generator/src/cli/solutions/example-solution.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -588,7 +588,7 @@ codealike.json
588588
"prettier": "^2.3.2",
589589
"ts-jest": "^26.4.4",
590590
"ts-node": "^9.0.0",
591-
"typescript": "4.x"
591+
"typescript": "^5"
592592
}
593593
}
594594
`,

modules/material-parser/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@
5757
"safe-eval": "^0.4.1",
5858
"short-uuid": "^3.1.1",
5959
"ts-polyfill": "^3.8.1-rc",
60-
"typescript": "3.9.4",
60+
"typescript": "^5",
6161
"vm2": "^3.9.2"
6262
},
6363
"publishConfig": {

modules/material-parser/test/fixtures/rax-component/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@
4949
"rax": "^1.1.0",
5050
"rax-test-renderer": "^1.0.0",
5151
"stylelint": "^13.7.2",
52-
"typescript": "^3.7.3"
52+
"typescript": "^5"
5353
},
5454
"componentConfig": {
5555
"name": "ChaoshiMetaExample",

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@
5050
"gulp": "^4.0.2",
5151
"husky": "^7.0.4",
5252
"lerna": "^4.0.0",
53-
"typescript": "4.6.2",
53+
"typescript": "^5",
5454
"yarn": "^1.22.17",
5555
"rimraf": "^3.0.2",
5656
"@types/react-router": "5.1.18",
@@ -66,7 +66,7 @@
6666
"lockfile": "enable"
6767
},
6868
"resolutions": {
69-
"typescript": "4.6.2",
69+
"typescript": "^5",
7070
"react-error-overlay": "6.0.9"
7171
},
7272
"repository": "[email protected]:alibaba/lowcode-engine.git"

packages/designer/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242
"jest": "^26.6.3",
4343
"lodash": "^4.17.20",
4444
"moment": "^2.29.1",
45-
"typescript": "^4.0.3"
45+
"typescript": "^5"
4646
},
4747
"publishConfig": {
4848
"access": "public",

packages/shell/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
"jest": "^26.6.3",
3939
"lodash": "^4.17.20",
4040
"moment": "^2.29.1",
41-
"typescript": "^4.0.3"
41+
"typescript": "^5"
4242
},
4343
"publishConfig": {
4444
"access": "public",

packages/shell/src/api/commonUI.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ export class CommonUI implements IPublicApiCommonUI {
1414
[editorSymbol]: IEditor;
1515

1616
Balloon = Balloon;
17-
Breadcrumb = Breadcrumb;
17+
Breadcrumb = Breadcrumb as any;
1818
Button = Button;
1919
Card = Card;
2020
Checkbox = Checkbox;
@@ -31,7 +31,7 @@ export class CommonUI implements IPublicApiCommonUI {
3131
Radio = Radio;
3232
Search = Search;
3333
Select = Select;
34-
SplitButton = SplitButton;
34+
SplitButton = SplitButton as any;
3535
Step = Step;
3636
Switch = Switch;
3737
Tab = Tab;

0 commit comments

Comments
 (0)