* Exempt ambient [#]private from unused error These declarations exist to create nominality so they _must_ be unused. There should be no error for them. * Switch to fourslash test I don't know how to baseline suggestion diagnostics in the compiler tests.
12 lines
249 B
TypeScript
12 lines
249 B
TypeScript
/// <reference path='fourslash.ts' />
|
|
|
|
// @noUnusedLocals: false
|
|
////class greeter {
|
|
//// [|private greeting: string;|]
|
|
////}
|
|
|
|
verify.codeFix({
|
|
description: "Remove unused declaration for: 'greeting'",
|
|
newRangeContent: "",
|
|
});
|