Skip to content

Commit

Permalink
Update packages/babel-generator/src/generators/flow.ts
Browse files Browse the repository at this point in the history
Co-authored-by: Nicol貌 Ribaudo <nicolo.ribaudo@gmail.com>
  • Loading branch information
saitonakamura and nicolo-ribaudo committed Feb 27, 2021
1 parent f313d9b commit d138249
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/babel-generator/src/generators/flow.ts
Expand Up @@ -360,7 +360,7 @@ export function _interfaceish(
) {
this.print(node.id, node);
this.print(node.typeParameters, node);
if (node.extends && node.extends.length) {
if (node.extends?.length) {
this.space();
this.word("extends");
this.space();
Expand Down

0 comments on commit d138249

Please sign in to comment.