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
|
=== tests/cases/compiler/x.ts ===
export default 0;
No type information for this code.
No type information for this code.=== tests/cases/compiler/y.tsx ===
export default 0;
No type information for this code.
No type information for this code.=== tests/cases/compiler/z.d.ts ===
declare const x: number;
>x : number
export default x;
>x : number
=== tests/cases/compiler/user.ts ===
import x from "./x.ts";
>x : any
import y from "./y.tsx";
>y : any
import z from "./z.d.ts";
>z : any
// Making sure the suggested fixes are valid:
import x2 from "./x";
>x2 : 0
import y2 from "./y";
>y2 : 0
import z2 from "./z";
>z2 : number
|