14 lines
376 B
TypeScript
14 lines
376 B
TypeScript
/// <reference path="fourslash.ts" />
|
|
|
|
//@Filename: a.ts
|
|
////var [|{| "isWriteAccess": true, "isDefinition": true |}x|]: number;
|
|
|
|
//@Filename: b.ts
|
|
/////// <reference path="a.ts" />
|
|
////[|{| "isWriteAccess": true |}x|]++;
|
|
|
|
//@Filename: c.ts
|
|
/////// <reference path="a.ts" />
|
|
////[|{| "isWriteAccess": true |}x|]++;
|
|
|
|
verify.singleReferenceGroup("var x: number");
|