feat(js_interop_gen): support TS Compiler API and resolve all type-system errors

Migrate js_interop_gen parser infrastructure to use the TypeScript Compiler API bindings.

- Add generated TypeScript API bindings in lib/src/js/generated/typescript_api.dart and binding update script.
- Refactor AST nodes, type representation, and parser logic to interface with the TypeScript Compiler API.
- Fix sub-type hierarchy, type mapping, and union casting resolution.
- Restore SDK-internal formatting for golden test expected files and update generator goldens.
81 files changed
tree: a905fa06f125d498edf9befc245c03e45b7bd87a
  1. .github/
  2. js_interop/
  3. js_interop_gen/
  4. third_party/
  5. web/
  6. web_generator/
  7. .gitignore
  8. LICENSE
  9. README.md
README.md
PackageDescriptionVersionCI
webLightweight browser API bindings built around JS interop.pub packagepackage:web
js_interopUtility functions and types for dart:js_interop and dart:js_interop_unsafe.pub packagepackage:js_interop
js_interop_genTools to generate Dart interfaces from TypeScript declaration files and Web IDL definitions.N/Apackage:js_interop_gen
web_generatorInternal tooling to generate the web package bindings.N/Apackage:web_generator