TypeScript/tests/cases/fourslash/removeDeclareParamTypeAnnotation.ts

9 lines
177 B
TypeScript
Raw Normal View History

2014-07-13 01:04:16 +02:00
/// <reference path="fourslash.ts" />
//// declare class T { }
//// declare function parseInt(/**/s:T):T;
//// parseInt('2');
goTo.marker();
edit.deleteAtCaret('s:T'.length);