初始化api

This commit is contained in:
whyour
2021-03-15 21:09:30 +08:00
parent f1f8ece8a2
commit 99a8dc78db
28 changed files with 664 additions and 49 deletions
+15 -4
View File
@@ -1,7 +1,7 @@
{
"compilerOptions": {
"target": "esnext",
"module": "esnext",
"target": "es2017",
"module": "commonjs",
"moduleResolution": "node",
"importHelpers": true,
"jsx": "react-jsx",
@@ -13,11 +13,22 @@
"@/*": ["src/*"],
"@@/*": ["src/.umi/*"]
},
"lib": ["dom", "es2017", "esnext.asynciterable"],
"typeRoots": [
"./node_modules/@types",
"./back/types",
"./node_modules/celebrate/lib/index.d.ts"
],
"allowSyntheticDefaultImports": true,
"experimentalDecorators": true
"experimentalDecorators": true,
"emitDecoratorMetadata": true,
"forceConsistentCasingInFileNames": true,
"pretty": true,
"allowJs": true,
"noEmit": false
},
"include": [
"mock/**/*",
"back/**/*",
"src/**/*",
"config/**/*",
".umirc.ts",