Files
angular-docs-cn/packages
Pete Bacon Darwin 185b932138 refactor(ivy): TypeScriptReflectionHost.isClass cannot be a type discriminator (#24897)
The `ReflectionHost` interface that is being implemented only expects a
return value of `boolean`.

Moreover, if you want to extend this class to support non-TS code formats,
e.g. ES5, the result of this call returning true does not mean that the `node`
is a `ClassDeclaration`. It could be a `VariableDeclaration`.

PR Close #24897
2018-07-27 17:15:30 -07:00
..
2018-07-27 18:47:13 -04:00

Angular

The sources for this package are in the main Angular repo. Please file issues and pull requests against that repo.

License: MIT