flow-runtime: Could not resolve libs in .flowconfig?
This is a:
- Question
Which concerns:
- babel-plugin-flow-runtime
What is the current behaviour?
flow-runtime: Cannot resolve type: Card
What is the expected behaviour?
resolve declare types correctly
Which package versions are you using?
0.4.0
My .flowconfig
[ignore]
.*/node_modules/.*
.*/test/.*
.*/build/.*
.*/dist/.*
.*/coverage/.*
[include]
.*/src/.*
[libs]
src/flow
[options]
unsafe.enable_getters_and_setters=true
My src/flow/card.js
declare type Card = {
cardTypeId: string,
cardTypeName: void | string,
cardId: string,
cardTimes: number,
cardLimit: string,
cardDiscount: number,
isValueCard: boolean,
cardExpired: string,
cardStyle: number
}
About this issue
- Original URL
- State: closed
- Created 7 years ago
- Comments: 15 (2 by maintainers)
I will go through all the open issues after the upgrade is released.