-
Notifications
You must be signed in to change notification settings - Fork 12.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Adds the TypeScript transformer #7191
Conversation
Review status: 0 of 12 files reviewed at latest revision, 9 unresolved discussions, some commit checks failed. src/compiler/transformers/destructuring.ts, line 23 [r1] (raw file): src/compiler/transformers/destructuring.ts, line 28 [r1] (raw file): src/compiler/transformers/destructuring.ts, line 40 [r1] (raw file): src/compiler/transformers/destructuring.ts, line 231 [r1] (raw file): src/compiler/transformers/destructuring.ts, line 267 [r1] (raw file): src/compiler/transformers/destructuring.ts, line 279 [r1] (raw file): src/compiler/transformers/destructuring.ts, line 300 [r1] (raw file): src/compiler/sourcemap.ts, line 70 [r1] (raw file): src/compiler/transformer.ts, line 29 [r1] (raw file): Comments from the review on Reviewable.io |
Review status: 0 of 12 files reviewed at latest revision, 10 unresolved discussions, some commit checks failed. src/compiler/transformers/ts.ts, line 210 [r4] (raw file): If these constructs are taken care of by Comments from the review on Reviewable.io |
Adds the Module transformers
Adds the ES6 transformer
Adds the ES7 transformer
Adds the JSX transformer
Adds the TypeScript transformer
The TypeScript transformer is designed to remove or transform most TypeScript-specific syntax.
This transformer elides TypeScript-specific nodes such as:
abstract
,public
,private
, etc.)implements
heritage clauses on classesIn addition, it transforms TypeScript-specific syntax into compatible down-level syntax, including:
Some TypeScript-specific syntax will remain, specifically import and export declarations that will be handled directly by a later module transformation.
Related Pull Requests: