我尝试为使用flow编写的小型库生成流程类型,但是我有这个错误:
-> % flow gen-flow-files src --out-dir dist
Found 14 files, generating libdefs...
Error: Failure("./src/types.js: Failure(\"Internal Error: Unexpected class static type: ObjProtoT\")")
如果我只运行检查:
-> % flow
No errors!
./ src / types.js - > https://gist.github.com/orlov-vo/1d889cbb22ab397b2c2af7e1d3e46dd1
有什么问题?