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
If flow doesn't support a type and a value having the same name, I don't think anything could be done here in a way that won't break the importing code realistically.
Hi, I was wondering how should I handle this kind of TypeScript annotations:
https://github.com/ianstormtaylor/slate/blob/main/packages/slate-react/src/plugin/react-editor.ts#L29-L34
Flowgen converts it to:
but then Flow errors because:
Any help would be appreciated.
The text was updated successfully, but these errors were encountered: