Subscribe is deprecated: Use an observer instead of an error callback
When I run the linter it says: subscribe is deprecated: Use an observer instead of an error callback Code from this angular app: … Read more
When I run the linter it says: subscribe is deprecated: Use an observer instead of an error callback Code from this angular app: … Read more
I recently started seeing, what seems like, TSLint errors. They look like this: Not using the local TSLint version found for ‘/Users/myname/myproject/client/src/app/likes/likee/likee.component.ts’. To … Read more
Lint error message: src/app/detail/edit/edit.component.ts[111, 5]: for (… in …) statements must be filtered with an if statement Code snippet (It is a working … Read more
The // @ts-ignore comment enables the TypeScript compiler to ignore the line below it. How can one ignore a whole block of code … Read more
When looking at the sourcecode for a tslint rule, I came across the following statement: if (node.parent!.kind === ts.SyntaxKind.ObjectLiteralExpression) { return; } Notice … Read more