This repository was archived by the owner on Jan 26, 2019. It is now read-only.
This repository was archived by the owner on Jan 26, 2019. It is now read-only.
Project not specified to tslint #126
Closed
Description
When you first start a freshly-scaffolded app, the following warning flashes:
Warning: The 'no-use-before-declare' rule requires type infomation.
This is because --project
is not being specified to tslint
. It has the implication that any rules that require type information are disabled. In the ejected app's webpack config, adding
options: {
typeCheck: true,
tsConfigFile: paths.appTsConfig,
}
to the ts-loader
config fixes it.