TypeScript/tests/cases/fourslash/addDeclareToFunction.ts

8 lines
159 B
TypeScript
Raw Normal View History

2014-07-13 01:04:16 +02:00
//// /*1*/function parseInt(s/*2*/:string):number;
goTo.marker('2');
edit.deleteAtCaret(':string'.length);
goTo.marker('1');
edit.insert('declare ');