Files
tsgo/testdata/baselines/reference/submodule/compiler/exportDefaultWithJSDoc2.symbols
2025-02-26 14:53:49 -08:00

19 lines
345 B
Plaintext

//// [tests/cases/compiler/exportDefaultWithJSDoc2.ts] ////
=== a.js ===
/**
* A number, or a string containing a number.
* @typedef {(number|string)} NumberLike
*/
export default /** @type {NumberLike[]} */([ ]);
=== b.ts ===
import A from './a'
>A : Symbol(A, Decl(b.ts, 0, 6))
A[0]
>A : Symbol(A, Decl(b.ts, 0, 6))