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 */
|