ts config

This commit is contained in:
mol
2024-06-06 15:41:41 +08:00
parent 79cfa39e62
commit 80dd69b366
4 changed files with 9 additions and 0 deletions

6
src/index.d.ts vendored Normal file
View File

@ -0,0 +1,6 @@
// 模块的变量定义必须有 import 或者 export
export { }
declare global {
const uni: any;
}

3
tsconfig.json Normal file
View File

@ -0,0 +1,3 @@
{
"include": ["src"]
}