TypeScript/tests/cases/fourslash/unusedParameterInConstructor2.ts
2017-06-06 14:11:11 -07:00

8 lines
333 B
TypeScript

/// <reference path='fourslash.ts' />
// @noUnusedLocals: true
//// class C1 {
//// [|constructor(public p1: string, private p2: boolean, public p3: any, p5)|] { p5; }
//// }
verify.rangeAfterCodeFix("constructor(public p1: string, public p3: any, p5)", /*includeWhiteSpace*/ false, /*errorCode*/ undefined, /*index*/ 0);