18 lines
495 B
TypeScript
18 lines
495 B
TypeScript
/// <reference path="../fourslash.ts"/>
|
|
|
|
// @allowNonTsExtensions: true
|
|
// @Filename: jsDocTypedef_form3.js
|
|
////
|
|
//// /**
|
|
//// * [|@typedef /*1*/[|{| "contextRangeIndex": 0 |}Person|]
|
|
//// * @type {Object}
|
|
//// * @property {number} age
|
|
//// * @property {string} name
|
|
//// |]*/
|
|
////
|
|
//// /** @type {/*2*/[|Person|]} */
|
|
//// var person;
|
|
|
|
goTo.file('jsDocTypedef_form3.js')
|
|
verify.rangesAreRenameLocations({ findInComments: true, ranges: test.rangesByText().get("Person") });
|