8515f7e2b5
* Also always test for isWriteAccess and isDefinition
10 lines
372 B
TypeScript
10 lines
372 B
TypeScript
/// <reference path='fourslash.ts'/>
|
|
|
|
// Function overloads should be highlighted together.
|
|
|
|
////function [|{| "isWriteAccess": true, "isDefinition": true |}foo|](x: string);
|
|
////function [|{| "isWriteAccess": true, "isDefinition": true |}foo|](x: string, y: number) {
|
|
//// [|foo|]('', 43);
|
|
////}
|
|
|
|
verify.singleReferenceGroup("function foo(x: string): any");
|