2015-05-28 20:47:12 +02:00
|
|
|
/// <reference path='fourslash.ts'/>
|
|
|
|
|
|
|
|
// @Filename: file1.ts
|
2019-06-13 21:25:02 +02:00
|
|
|
////var foo = [|function [|{| "isWriteAccess": true, "isDefinition": true, "contextRangeIndex": 0 |}foo|](a = [|foo|](), b = () => [|foo|]) {
|
2015-05-28 20:47:12 +02:00
|
|
|
//// [|foo|]([|foo|], [|foo|]);
|
2019-06-06 00:01:34 +02:00
|
|
|
////}|]
|
2015-05-28 20:47:12 +02:00
|
|
|
|
|
|
|
// @Filename: file2.ts
|
|
|
|
/////// <reference path="file1.ts" />
|
|
|
|
////foo();
|
|
|
|
|
2019-06-06 00:01:34 +02:00
|
|
|
verify.singleReferenceGroup("(local function) foo(a?: void, b?: () => (a?: void, b?: ...) => void): void", "foo");
|