I have a Typescript file that looks like this:
export interface Prisma {
// Members
}
export const Prisma = (): Prisma => {
// returns a object with of type Prisma
};
Given that both of these entities have the same name in the same file (which I can't change), how can I import the interface in another file? Writing
import Prisma from './myFile';
always imports the exported const, never the exported interface.