TypeScript/tests/cases/fourslash/removeDeclareInModule.ts

13 lines
267 B
TypeScript
Raw Normal View History

2014-07-13 01:04:16 +02:00
/// <reference path="fourslash.ts" />
//// /**/export module Foo {
//// function a(): void {}
//// }
////
//// Foo.a();
goTo.marker();
edit.deleteAtCaret('export '.length);
verify.numberOfErrorsInCurrentFile(1); // Expected 1: 'a' is not exported