* 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
12 lines
355 B
TypeScript
12 lines
355 B
TypeScript
/// <reference path='fourslash.ts' />
|
|
|
|
// @noUnusedLocals: true
|
|
//// class C1 {
|
|
//// [|constructor(public p1: string, public p2: boolean, private p3: any, p5)|] { p5; }
|
|
//// }
|
|
|
|
verify.codeFix({
|
|
description: "Remove declaration for: 'p3'",
|
|
index: 0,
|
|
newRangeContent: "constructor(public p1: string, public p2: boolean, p5)",
|
|
});
|