2017-06-09 04:00:08 +02:00
|
|
|
/// <reference path='fourslash.ts' />
|
|
|
|
|
|
|
|
// @noUnusedLocals: true
|
|
|
|
//// class C1 {
|
|
|
|
//// [|constructor(private p1: string, public p2: boolean, public p3: any, p5) |] { p5; }
|
|
|
|
//// }
|
|
|
|
|
2017-10-10 20:28:05 +02:00
|
|
|
verify.codeFix({
|
|
|
|
description: "Prefix 'p1' with an underscore.",
|
|
|
|
index: 1,
|
|
|
|
newRangeContent: "constructor(private _p1: string, public p2: boolean, public p3: any, p5)",
|
|
|
|
});
|