TypeScript/tests/cases/fourslash/toggleDuplicateFunctionDeclaration.ts
2014-07-29 12:17:44 -07:00

13 lines
193 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);