我在两个项目中使用一个类,在tsconfig.ts中的项目B中,我在“路径”中声明了它,但是当上传到git时,此文件没有上传,我是否应该配置其他内容?
{
"compileOnSave": false,
"compilerOptions": {
"baseUrl": "./",
"outDir": "./dist/out-tsc",
"sourceMap": true,
"composite": false,
"module": "es2015",
"moduleResolution": "node",
"emitDecoratorMetadata": true,
"experimentalDecorators": true,
"importHelpers": true,
"target": "es5",
"typeRoots": [
"node_modules/@types"
],
"paths": {
"@models/*": [
"../staff-admin/src/app/main/models/*"
]
},
"lib": [
"es2018",
"dom"
]
}
}