2018-11-05 18:07:29 +01:00
|
|
|
/// <reference path='fourslash.ts' />
|
|
|
|
|
|
|
|
// @noUnusedLocals: true
|
|
|
|
// @noUnusedParameters: true
|
|
|
|
|
|
|
|
////export class Example {
|
|
|
|
//// constructor(private readonly arg: any) {
|
|
|
|
//// }
|
|
|
|
////}
|
|
|
|
|
|
|
|
verify.codeFix({
|
2020-01-18 22:28:19 +01:00
|
|
|
description: "Remove unused declaration for: 'arg'",
|
2018-11-05 18:07:29 +01:00
|
|
|
newFileContent:
|
|
|
|
`export class Example {
|
|
|
|
constructor() {
|
|
|
|
}
|
|
|
|
}`,
|
|
|
|
});
|