24 lines
540 B
Text
24 lines
540 B
Text
=== tests/cases/compiler/a.ts ===
|
|
var a = 0;
|
|
>a : number
|
|
>0 : 0
|
|
|
|
console.log(a);
|
|
>console.log(a) : void
|
|
>console.log : (message?: any, ...optionalParams: any[]) => void
|
|
>console : Console
|
|
>log : (message?: any, ...optionalParams: any[]) => void
|
|
>a : number
|
|
|
|
=== tests/cases/compiler/b.ts ===
|
|
var b = 0;
|
|
>b : number
|
|
>0 : 0
|
|
|
|
console.log(b);
|
|
>console.log(b) : void
|
|
>console.log : (message?: any, ...optionalParams: any[]) => void
|
|
>console : Console
|
|
>log : (message?: any, ...optionalParams: any[]) => void
|
|
>b : number
|
|
|