Skip to content

Commit

Permalink
build: 修复全局 TS 类型
Browse files Browse the repository at this point in the history
  • Loading branch information
Honye committed Jul 27, 2023
1 parent 2ebe0c8 commit b8ee924
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions @types/index.d.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import 'miniprogram-api-typings'

declare namespace IMarkr {
}

Expand Down
2 changes: 1 addition & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,6 @@
"noEmit": true,
"downlevelIteration": true,
"typeRoots": ["./@types", "./node_modules/@types"],
"types": ["miniprogram-api-typings", "jest"]
"types": ["jest"]
}
}

0 comments on commit b8ee924

Please sign in to comment.