mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
73530a9e2509c9331d908811d4c13dc9fe5ded02
It is messy to keep casting `CompletionEntry.kind` from `ng.CompletionKind` to `ts.ScriptElementKind`. Instead, create a new type `ng.CompletionEntry` that is exactly the same as `ts.CompletionEntry`, but with the `kind` type overridden to `ng.CompletionKind`. This way, we only have to cast it once, and can do so in a safe manner. PR Close #33379
…
…
Angular
Angular is a development platform for building mobile and desktop web applications using TypeScript/JavaScript and other languages.
Quickstart
Changelog
Learn about the latest improvements.
Want to help?
Want to file a bug, contribute some code, or improve documentation? Excellent! Read up on our guidelines for contributing and then check out one of our issues in the hotlist: community-help.
Languages
TypeScript
81.7%
JavaScript
12.8%
HTML
2%
Starlark
1.8%
CSS
1%
Other
0.7%