15 lines
245 B
TypeScript
15 lines
245 B
TypeScript
/// <reference path='fourslash.ts' />
|
|
|
|
// @noUnusedLocals: true
|
|
//// function f1 () {
|
|
//// [|let x = 10;
|
|
//// {
|
|
//// let x = 11;
|
|
//// }
|
|
//// x;|]
|
|
//// }
|
|
|
|
verify.rangeAfterCodeFix(`let x = 10;
|
|
{
|
|
}
|
|
x;`);
|