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

8 lines
272 B
TypeScript

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