Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Allow nullish extends in interfaceish (#12920)
* Allow nullish extends in interfaceish Otherwise code such as ```ts t.interfaceDeclaration( t.identifier('id'), undefined, undefined, t.objectTypeAnnotation([]) ) ``` Will fail when priting with ` TypeError: unknown: Cannot read property 'length' of null` Despite nullish values being allowed in `t.interfaceDeclaration` definitions * Update packages/babel-generator/src/generators/flow.ts Co-authored-by: Nicol貌 Ribaudo <nicolo.ribaudo@gmail.com> Co-authored-by: Nicol貌 Ribaudo <nicolo.ribaudo@gmail.com>
- Loading branch information