TypeScript: Support type arguments on tagged templates (#7754)
| Q | A | ------------------------ | --- | Fixed Issues? | #7747 (partly) | Patch: Bug Fix? | | Major: Breaking Change? | | Minor: New Feature? | Yes | Tests Added + Pass? | Yes | Documentation PR | | Any Dependency Changes? | | License | MIT @JamesHenry This changes the AST format. CC @DanielRosenwasser for review. Supports parsing type arguments on tagged template calls. Should wait on Microsoft/TypeScript#23430 to be merged so we're sure we have the final syntax.
This commit is contained in:
1
packages/babel-generator/test/fixtures/typescript/type-arguments-tagged-template/input.js
vendored
Normal file
1
packages/babel-generator/test/fixtures/typescript/type-arguments-tagged-template/input.js
vendored
Normal file
@@ -0,0 +1 @@
|
||||
f<T>``;
|
||||
1
packages/babel-generator/test/fixtures/typescript/type-arguments-tagged-template/output.js
vendored
Normal file
1
packages/babel-generator/test/fixtures/typescript/type-arguments-tagged-template/output.js
vendored
Normal file
@@ -0,0 +1 @@
|
||||
f<T>``;
|
||||
Reference in New Issue
Block a user