TypeScript/tests/cases/fourslash/findAllRefsForFunctionExpression01.ts
2019-06-13 12:41:21 -07:00

13 lines
447 B
TypeScript

/// <reference path='fourslash.ts'/>
// @Filename: file1.ts
////var foo = [|function [|{| "isWriteAccess": true, "isDefinition": true, "contextRangeIndex": 0 |}foo|](a = [|foo|](), b = () => [|foo|]) {
//// [|foo|]([|foo|], [|foo|]);
////}|]
// @Filename: file2.ts
/////// <reference path="file1.ts" />
////foo();
verify.singleReferenceGroup("(local function) foo(a?: void, b?: () => (a?: void, b?: ...) => void): void", "foo");