-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #3 from Bi2Nb9O3-Studio/dev
移动功能补全及TypeScript支持
- Loading branch information
Showing
7 changed files
with
111 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
{ | ||
// 将此更改以匹配你的项目 | ||
"include": ["src/**/*"], | ||
"compilerOptions": { | ||
// 告诉 TypeScript 读取 JS 文件,因为 | ||
// 通常它们被忽略为源文件 | ||
"allowJs": true, | ||
// 生成 d.ts 文件 | ||
"declaration": true, | ||
// 此编译器运行应 | ||
// 只输出 d.ts 文件 | ||
"emitDeclarationOnly": true, | ||
// 类型应该进入此目录。 | ||
// 删除它会将 .d.ts 文件放置在 | ||
// 与 .js 文件相邻的位置 | ||
"outDir": "build/types", | ||
// 在使用 IDE 功能时转到 js 文件,如 | ||
// VSCode 中的"转到定义" | ||
"declarationMap": true, | ||
"lib": ["es6", "dom", "ESNext"], | ||
"moduleResolution": "Bundler", | ||
"module": "ESNext" | ||
} | ||
} |