Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[labs/analyzer] Don't extract JSDoc types in TS. Port type tests to J…
…S. (#3658) * TS already takes into account JSDoc comments when determining types, if applicable. (...) When TypeScript is checking `.ts` files, JSDoc comments that indicate types have no effect despite being parsed and reachable through the AST. When checking `.js` files, JSDoc comments are automatically considered by `tsc` and don't need to be separately taken into account. * Remove incorrect JSDoc type tests. (...) These tests were checking if types defined by JSDoc comments in `.ts` files were being output by the analyzer. However, TS does not consider JSDoc comments to have any effect in `.ts` files, even though they're parsed and reachable in the AST. * Copy TS type tests and port to JS. * Remove a comment that no longer applies. * Add a changeset.
- Loading branch information