Skip to content

Commit

Permalink
chore: downgrade ts version
Browse files Browse the repository at this point in the history
for work with api-extractor tools together compatically
  • Loading branch information
chandq committed Nov 12, 2023
1 parent 84527da commit 46f93ab
Show file tree
Hide file tree
Showing 3 changed files with 52 additions and 11 deletions.
57 changes: 48 additions & 9 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
"module": "lib/es/index.js",
"browser": "lib/umd/index.js",
"types": "lib/index.d.ts",
"typings": "lib/index.d.ts",
"exports": {
".": {
"import": "./lib/es/index.js",
Expand Down Expand Up @@ -85,7 +86,7 @@
"stylelint-config-prettier": "^9.0.5",
"stylelint-config-standard": "^20.0.0",
"ts-loader": "^9.5.0",
"typescript": "^5.2.2"
"typescript": "5.0.4"
},
"config": {
"commitizen": {
Expand Down
3 changes: 2 additions & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
"removeComments": false,
// "declaration": true,
// "sourceMap": true,
// "declarationMap": true,

/* 强类型检查配置 */
"strict": true,
Expand All @@ -16,7 +17,7 @@

/* 模块分析配置 */
"baseUrl": ".",
// "outDir": ".",
// "outDir": "lib",
"esModuleInterop": true,
"moduleResolution": "node",
"resolveJsonModule": true
Expand Down

0 comments on commit 46f93ab

Please sign in to comment.