* 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
14 lines
333 B
TypeScript
14 lines
333 B
TypeScript
/// <reference path='fourslash.ts' />
|
|
|
|
// @noUnusedLocals: true
|
|
// @noUnusedParameters: true
|
|
//// export {}
|
|
//// [|var x = function f1(m: number) {}|]
|
|
//// x;
|
|
//// export var y: string;
|
|
|
|
verify.codeFix({
|
|
description: "Remove declaration for: 'm'",
|
|
index: 0,
|
|
newRangeContent: `var x = function f1() {}`,
|
|
});
|