2018-05-04 22:32:40 +02:00
|
|
|
/// <reference path='fourslash.ts' />
|
|
|
|
|
|
|
|
// @allowJs: true
|
|
|
|
|
|
|
|
// @Filename: /a.js
|
|
|
|
////module.exports = 0;
|
2019-06-13 21:25:02 +02:00
|
|
|
/////** [|@typedef {number} [|{| "isWriteAccess": true, "isDefinition": true, "contextRangeIndex": 0 |}Foo|]|] */
|
2018-05-04 22:32:40 +02:00
|
|
|
////const dummy = 0;
|
|
|
|
|
|
|
|
// @Filename: /b.js
|
|
|
|
/////** @type {import('./a').[|Foo|]} */
|
|
|
|
////const x = 0;
|
|
|
|
|
2019-06-05 23:10:51 +02:00
|
|
|
verify.singleReferenceGroup("type Foo = number", "Foo");
|