gcanti / babel-plugin-tcomb

Babel plugin for static and runtime type checking using Flow and tcomb
MIT License
482 stars 22 forks source link

Generator types #158

Open anilanar opened 7 years ago

anilanar commented 7 years ago

type Foo = Generator<any, any, any>

is converted to

const Foo = Generator so the following error is thrown:

ReferenceError: Generator is not defined.