Open
Description
This issue is for tracking the development of the JS Interop Bindings Generator for TypeScript Declaration Files (.d.ts
files).
This encompasses being able to parse TypeScript declarations, generate an intermediate representation for such declarations, and generate Dart Interop Code using code_builder
.
For more information on the project, see the project overview.
This will merge with the work done in web_generator
to generate a single binary entrypoint with which Dart JS Interop Code can be generated from IDL and TypeScript Files, which will include some refactoring of the AST used to suit both purposes.
Issues
- [web_generator] Configuration Support #376
- [web_generator] Setting up
web_generator
for Dart JS Interop Gen #368
TS Generation
- Interop Gen: Support Variable Declarations #375
- Interop Gen: Support Export/Import Declarations #378
- Interop Gen: Support Some Primitive JS Types #379
- Interop Gen: Support
typeof
type declarations #383 - Interop Gen: Support Literal Types in TS (i.e
null
,true
,false
) #384 - Interop Gen: Support Union Types #385
- Interop Gen: Support Overloading #388
- Interop Gen: Support Function Declarations #389
- Interop Gen: Support Enumerations #393
- Interop Gen: Support Indexed Access Types #391
- Interop Gen: Support Generator Functions #390
- Interop Gen: Support Namespaces #399
IDL Refactoring
Most of IDL refactoring is occurring on #394.
Metadata
Metadata
Assignees
Labels
No labels