TypeScript/tests/cases/compiler/importTypeResolutionJSDocEOF.ts
Wesley Wigham 238ed7a94c
Visit EOF to collect jsdoc import types (#23521)
* Visit EOF to collect jsdoc import types

* Add flag to prevent jsdoc import types from influencing compilation set
2018-04-18 19:52:34 -04:00

13 lines
245 B
TypeScript

// @allowJs: true
// @noEmit: true
// @checkJs: true
// @filename: interfaces.d.ts
export interface Bar {
prop: string
}
// @filename: usage.js
/** @type {Bar} */
export let bar;
/** @typedef {import('./interfaces').Bar} Bar */