在使用 ngx-bootstrap 时,我提取了 datepicker 逻辑的一部分以分离类,而不是 codelyzer 显示了很多问题,例如:
The property "viewMode" that you're trying to access does not exist in the class declaration.
这种排除文件不起作用:
``` tslint \"src/**/*.ts\" -c tslint.json --type-check -p src/tsconfig.spec.json -e \"**/bs-datepicker-view.html\ "
```
提前致谢