TypeScript/tests/cases/fourslash/toggleDuplicateFunctionDeclaration.ts
2015-03-02 14:41:44 -08:00

13 lines
205 B
TypeScript

/// <reference path="fourslash.ts" />
//// class D { }
//// D();
var funcDecl = 'declare function D();';
goTo.bof();
edit.insert(funcDecl);
goTo.bof();
edit.deleteAtCaret(funcDecl.length);