8 lines
258 B
TypeScript
8 lines
258 B
TypeScript
|
// @declaration: true
|
||
|
// @filename: root.ts
|
||
|
export function getSomething(): Something { return null as any }
|
||
|
export default class Something {}
|
||
|
// @filename: main.ts
|
||
|
import Thing, { getSomething } from "./root";
|
||
|
export const instance = getSomething();
|