Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix a bug with invalid print output when empty array is passed to t.t…
…sInterfaceDeclaration If you pass an empty array as `extends` in `t.tsInterfaceDeclaration` you'll get an invalid code printed ```ts t.tsInterfaceDeclaration( t.identifier('x'), undefined, [], t.tsInterfaceBody([]) ) ``` You will get ```ts interface A extends {} ``` Which is an invalid TS, this PR fixes that
- Loading branch information