We're stuck in some places because Victor uses features that are only available in TS 2.0 (actually 1.9x) and most editors (VS Code) won't know about those features.
For example, in router.d.ts some of the router properties are readonly:
I can get VS Code to acknowledge by creating a _workplace setting override_ that knows about the TS 2.0 (actually 1.9x) version.
// Place your settings in this file to overwrite default and user settings.
{
"typescript.tsdk": "C:/github/vlad-brandon/node_modules/typescript/lib"
}
We're stuck in some places because Victor uses features that are only available in TS 2.0 (actually 1.9x) and most editors (VS Code) won't know about those features.
For example, in
router.d.ts
some of the router properties arereadonly
:That TS service throws up on that. Which makes
Router.routerState
disappear. Which makes this line inhero-list.component.ts
fail to compileI can get VS Code to acknowledge by creating a _workplace setting override_ that knows about the TS 2.0 (actually 1.9x) version.