TypeScript/tests/cases/fourslash/findAllRefsTypedef.ts

16 lines
312 B
TypeScript
Raw Normal View History

/// <reference path='fourslash.ts' />
// @allowJs: true
// @Filename: /a.js
/////**
//// * @typedef I {Object}
2019-06-13 21:25:02 +02:00
//// * [|@prop [|{| "isDefinition": true, "contextRangeIndex": 0 |}p|] {number}
2019-06-05 21:38:15 +02:00
//// |]*/
////
/////** @type {I} */
////let x;
////x.[|p|];
verify.singleReferenceGroup("(property) p: number", "p");