2018-06-09 00:20:33 +02:00
|
|
|
/// <reference path='fourslash.ts' />
|
|
|
|
|
|
|
|
// @noLib: true
|
|
|
|
// @noUnusedLocals: true
|
|
|
|
|
|
|
|
////let x = 0;
|
|
|
|
////x = 1;
|
|
|
|
////
|
|
|
|
////export class C {
|
|
|
|
//// private p: number;
|
|
|
|
////
|
|
|
|
//// m() { this.p = 0; }
|
|
|
|
////}
|
|
|
|
|
|
|
|
verify.codeFixAll({
|
|
|
|
fixId: "unusedIdentifier_delete",
|
2020-06-30 20:44:47 +02:00
|
|
|
fixAllDescription: ts.Diagnostics.Delete_all_unused_declarations.message,
|
2018-06-09 00:20:33 +02:00
|
|
|
newFileContent:
|
|
|
|
`
|
|
|
|
export class C {
|
|
|
|
|
|
|
|
m() { }
|
|
|
|
}`,
|
|
|
|
});
|