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

8 lines
159 B
TypeScript

//// /*1*/function parseInt(s/*2*/:string):number;
goTo.marker('2');
edit.deleteAtCaret(':string'.length);
goTo.marker('1');
edit.insert('declare ');