You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Error ----------------------------------------------- node_modules/wonka/dist/types/src/Wonka_operators.gen.js.flow:3:10
Cannot import the type operatorT as a value. Use import type instead.
1| // @flow
2|
3| import { operatorT as Wonka_types_operatorT } from "./Wonka_types.gen";
4| import { sourceT as Wonka_types_sourceT } from "./Wonka_types.gen";
5| declare export var buffer: <a, b>(
6| _1: Wonka_types_sourceT<a>
Error ----------------------------------------------- node_modules/wonka/dist/types/src/Wonka_operators.gen.js.flow:4:10
Cannot import the type sourceT as a value. Use import type instead.
1| // @flow
2|
3| import { operatorT as Wonka_types_operatorT } from "./Wonka_types.gen";
4| import { sourceT as Wonka_types_sourceT } from "./Wonka_types.gen";
5| declare export var buffer: <a, b>(
6| _1: Wonka_types_sourceT<a>
7| ) => Wonka_types_operatorT<b, b[]>;
Error --------------------------------------------------- node_modules/wonka/dist/types/src/Wonka_sinks.gen.js.flow:3:10
Cannot import the type sourceT as a value. Use import type instead.
1| // @flow
2|
3| import { sourceT as Wonka_types_sourceT } from "./Wonka_types.gen";
4| import { subscriptionT as Wonka_types_subscriptionT } from "./Wonka_types.gen";
5| export type subscribeConsumerT<a> = (
6| _1: Wonka_types_sourceT<a>
Oh awesome, thanks for letting me know! I’ll put the flow checks back in place and will see whether I can get this fixed with some quick finds&replaces in the generate script 👍
Sampling:
Looks like it's due to this: joarwilk/flowgen#74
I'll be working around this with a local fork of the generated typedefs, but I figured you'd want to know.
The text was updated successfully, but these errors were encountered: