在我的项目中,我在显示错误的tsconfig.json中启用ivy之后使用了Angular-7

我的tsconfig.json文件:
{
"compileOnSave": false,
"compilerOptions": {
"baseUrl": "./",
"outDir": "./dist/out-tsc",
"sourceMap": true,
"declaration": false,
"moduleResolution": "node",
"emitDecoratorMetadata": true,
"experimentalDecorators": true,
"target": "es5",
"typeRoots": [
"node_modules/@types"
],
"lib": [
"es2017",
"dom"
]
},
"angularCompilerOptions": {
"enableIvy": true
}
}在我的项目中,我使用了BsDatepickerModule模块。
如何解决这个问题?
发布于 2019-12-24 20:26:15
去掉"onlyCurrentMonth“中的前缀"on”,它就可以工作了。
https://stackoverflow.com/questions/57181653
复制相似问题