refactor: use ~ as import alias

This commit is contained in:
鲁树人
2023-05-09 01:22:00 +01:00
parent eeb00e0bc9
commit 5ad054631c
7 changed files with 32 additions and 12 deletions

View File

@@ -17,7 +17,12 @@
"strict": true,
"noUnusedLocals": true,
"noUnusedParameters": true,
"noFallthroughCasesInSwitch": true
"noFallthroughCasesInSwitch": true,
"baseUrl": ".",
"paths": {
"~/*": ["src/*"]
}
},
"include": ["src"],
"references": [{ "path": "./tsconfig.node.json" }]