TypeScript/tests/cases/fourslash/unusedVariableInClass5.ts
Nathan Shively-Sanders 6c5c48c74c
Exempt ambient [#]private from unused error (#37050)
* 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.
2020-02-27 13:18:43 -08:00

11 lines
186 B
TypeScript

/// <reference path='fourslash.ts' />
// @noUnusedLocals: true
// @target: esnext
////declare class greeter {
//// #private;
//// private name;
////}
verify.noErrors()