49 lines
666 B
Text
49 lines
666 B
Text
=== tests/cases/compiler/downlevelLetConst19.ts ===
|
|
'use strict'
|
|
>'use strict' : string
|
|
|
|
declare function use(a: any);
|
|
>use : (a: any) => any
|
|
>a : any
|
|
|
|
var x;
|
|
>x : any
|
|
|
|
function a() {
|
|
>a : () => void
|
|
{
|
|
let x;
|
|
>x : any
|
|
|
|
use(x);
|
|
>use(x) : any
|
|
>use : (a: any) => any
|
|
>x : any
|
|
|
|
function b() {
|
|
>b : () => void
|
|
{
|
|
let x;
|
|
>x : any
|
|
|
|
use(x);
|
|
>use(x) : any
|
|
>use : (a: any) => any
|
|
>x : any
|
|
}
|
|
use(x);
|
|
>use(x) : any
|
|
>use : (a: any) => any
|
|
>x : any
|
|
}
|
|
}
|
|
use(x)
|
|
>use(x) : any
|
|
>use : (a: any) => any
|
|
>x : any
|
|
}
|
|
use(x)
|
|
>use(x) : any
|
|
>use : (a: any) => any
|
|
>x : any
|
|
|