TypeScript/tests/cases/fourslash/renameLocationsForFunctionExpression02.ts

14 lines
314 B
TypeScript
Raw Normal View History

2015-06-29 15:46:41 +02:00
/// <reference path='fourslash.ts'/>
////function f() {
////
2015-06-29 15:46:41 +02:00
////}
2019-06-13 21:25:02 +02:00
////var x = [|function [|{| "contextRangeIndex": 0 |}f|](g: any, h: any) {
2015-06-29 15:46:41 +02:00
////
//// let helper = function f(): any { f(); }
////
//// let foo = () => [|f|]([|f|], g);
2019-05-31 20:57:43 +02:00
////}|]
2015-06-29 15:46:41 +02:00
verify.rangesWithSameTextAreRenameLocations("f");