TypeScript/tests/cases/fourslash/addDeclareToFunction.ts

8 lines
196 B
TypeScript
Raw Normal View History

2015-07-22 00:31:30 +02:00
/// <reference path="fourslash.ts" />
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');
2015-07-22 00:31:30 +02:00
edit.insert('declare ');