mirror of
https://github.com/hanzoai/babel.git
synced 2026-09-24 16:56:45 +00:00
* make cloneIdentifier a parser method Allows the estree plugin to provide optional properties to the cloned identifier * move castNodeTo to node parser * apply unpad on input code * apply tokens hotfix on ts-eslint AST * fix spread element support * Represent `yield` using a `Keyword` token * fix directive typing error * fill optional properties for AccessorProperty * use castNodeTo for all AST type manipulations * represent let as a Keyword token * remove invalid test case * test cleanup * address review comment * add more test cases
3 lines
135 B
JavaScript
3 lines
135 B
JavaScript
type A = (<T>(T) => $Foo<T>) & (<T>(T) => $Foo<T>);
|
|
type B = (<T>(T) => $Foo<T>) | (<T>(T) => $Foo<T>);
|
|
type C = (<T>(T) => $Foo<T>)[]; |