Below works:
interface Foo {
num: number;
}
class Foo {
}
Below doesn't work, error
Import declaration conflicts with local declaration of 'Foo'
import { Foo } from "./someModule";
class Foo {
}
Is this intended behaviour? If I am able to create an interface and class with the same name in one module, why not be able to import?