TypeScript/tests/cases/fourslash/addDeclareToFunction.ts
2015-07-21 15:31:30 -07:00

8 lines
196 B
TypeScript

/// <reference path="fourslash.ts" />
//// /*1*/function parseInt(s/*2*/:string):number;
goTo.marker('2');
edit.deleteAtCaret(':string'.length);
goTo.marker('1');
edit.insert('declare ');