I\'m using TypeScript 1.5 beta, and I\'m trying to export an interface as the default export. The following code causes an error in both Visual Studio and WebStorm:
it is not necessary to export the interface
// Foo.ts interface Foo {} // Bar.ts class Bar { constructor(foo:Foo) {} }