feat: 类型声明

This commit is contained in:
Archer
2023-03-10 20:18:31 +08:00
parent 38d49ea05f
commit 7fb76cde0b
5 changed files with 11 additions and 13 deletions

View File

@@ -3,7 +3,6 @@
"target": "es5",
"lib": ["dom", "dom.iterable", "esnext"],
"allowJs": true,
"noImplicitAny": true,
"skipLibCheck": true,
"strict": true,
"forceConsistentCasingInFileNames": true,
@@ -18,8 +17,9 @@
"baseUrl": ".",
"paths": {
"@/*": ["./src/*"]
}
},
"declaration": true
},
"include": ["next-env.d.ts", "**/*.ts", "**/*.tsx", "**/*.d.ts"],
"include": ["next-env.d.ts", "src/**/*"],
"exclude": ["node_modules"]
}