To compile with
.jsto all imports and exports. This is a known issue in TypeScript (and probably wontfix).
I know both Flow and TypeScript emit their own specific type definitions, not cross-compatible with each other; but are there ways to normalize that (e.g. emit JSDoc as well)?
I have seen repos with
*.d.ts inside it. Are there libraries to help writing that?