TypeScript/tests/cases/fourslash/unusedFunctionInNamespace2.ts

15 lines
296 B
TypeScript
Raw Normal View History

/// <reference path='fourslash.ts' />
// @noUnusedLocals: true
//// [| namespace greeter {
//// export function function2() {
//// }
//// function function1() {
//// }
////} |]
verify.rangeAfterCodeFix(`namespace greeter {
export function function2() {
}
}`);