TypeScript/tests/cases/fourslash/unusedVariableInBlocks.ts
Mohamed Hegazy 65af685b49
Remove periods from refactor/quickfix messages (#20237)
* Fix #19959 and #19958: Remove un-localizable messages

* Update message

* Reorder error messages

* Fix https://github.com/Microsoft/TypeScript/issues/15399: remove periods at the end of messages

* Accept baselines for error code changes

* accept baselines for removed periods

* Update diagnostic messages
2017-12-01 16:38:59 -08:00

19 lines
313 B
TypeScript

/// <reference path='fourslash.ts' />
// @noUnusedLocals: true
////function f1 () {
//// [|let x = 10;
//// {
//// let x = 11;
//// }
//// x;|]
////}
verify.codeFix({
description: "Remove declaration for: 'x'",
newRangeContent: `let x = 10;
{
}
x;`,
});