TypeScript/tests/cases/fourslash/refactorConvertParamsToDestructuredObject_arrowFunctionWithType.ts

8 lines
253 B
TypeScript
Raw Normal View History

2019-02-02 01:44:22 +01:00
/// <reference path='fourslash.ts' />
////const foo: (a: number, b: number) => number = /*a*/(a: number, b: number)/*b*/ => a + b;
////foo(1, 2);
goTo.select("a", "b");
verify.not.refactorAvailable("Convert parameters to destructured object");