Keen Yee Liau
cbb1d9f2bb
fix(compiler-cli): Refactor getTsTypeFromBuiltinType (#33778)
This commit fixes a few issues with helper method `getBuiltInTypeFromTsType`. 1. The function is wrongly named. It should be the other way round. 2. The ts.Type returned by the function should not contain any value. This is because for some data types like Number and String, the SourceFile (context.node) is not the correct value. Value is never needed for program correctness in this case. PR Close #33778
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.
Description
Languages
TypeScript
68.6%
HTML
12.8%
JavaScript
8.4%
Pug
7%
Starlark
1.4%
Other
1.7%