1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38
|
=== tests/cases/compiler/hybrid/index.d.ts ===
export function sayHello(): string;
>sayHello : () => string
=== tests/cases/compiler/path.d.ts ===
declare const anything: any;
>anything : any
export = anything;
>anything : any
=== tests/cases/compiler/fs.d.ts ===
declare const anything: any;
>anything : any
export = anything;
>anything : any
=== tests/cases/compiler/mjts.ts ===
import { sayHello } from "./hybrid";
>sayHello : () => string
import path from "./path";
>path : any
import * as fs from "./fs";
>fs : any
path;
>path : any
sayHello();
>sayHello() : string
>sayHello : () => string
fs;
>fs : any
|