Closed ctrlplusb closed 8 years ago
This already works:
import type {Foo} from './types';
export function bar(param: Foo): string {
...
}
Although it was having problems due to babel's plugin munging behaviour. It should be fixed in newish versions of babel 6.
Nice, thanks for the prompt reply.
Sorry for wasting your time on this one.
Great work and library.
This is a feature request more than an issue.
It would be awesome to allow for the centralisation and importing of our types.
types.js
bar.js