3cd9f3d2d4
* Support services for @typedef * Ensure JSDocTypeReference has SemanticMeaning.Type * Get SemanticMeaning right
12 lines
295 B
TypeScript
12 lines
295 B
TypeScript
///<reference path="fourslash.ts" />
|
|
|
|
// @allowJs: true
|
|
// @Filename: a.js
|
|
|
|
/////** @typedef {number} */
|
|
////const [|{| "isWriteAccess": true, "isDefinition": true |}T|] = 1;
|
|
|
|
/////** @type {[|T|]} */
|
|
////const n = [|T|];
|
|
|
|
verify.singleReferenceGroup("type T = number\nconst T: 1");
|