mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-05-30 10:29:18 -05:00
fix(51716): find all references in imported JSDoc types (#51729)
This commit is contained in:
18
tests/cases/fourslash/findAllRefs_importType_js.4.ts
Normal file
18
tests/cases/fourslash/findAllRefs_importType_js.4.ts
Normal file
@@ -0,0 +1,18 @@
|
||||
/// <reference path="fourslash.ts" />
|
||||
|
||||
// @module: commonjs
|
||||
// @allowJs: true
|
||||
// @checkJs: true
|
||||
|
||||
// @Filename: /a.js
|
||||
/////**
|
||||
//// * @callback /**/A
|
||||
//// * @param {unknown} response
|
||||
//// */
|
||||
////
|
||||
////module.exports = {};
|
||||
|
||||
// @Filename: /b.js
|
||||
/////** @typedef {import("./a").A} A */
|
||||
|
||||
verify.baselineFindAllReferences("");
|
||||
Reference in New Issue
Block a user