* Visit EOF to collect jsdoc import types * Add flag to prevent jsdoc import types from influencing compilation set
13 lines
245 B
TypeScript
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 */ |