27 lines
623 B
Plaintext
27 lines
623 B
Plaintext
=== tests/cases/compiler/checkJsdocTypeTagOnExportAssignment7.js ===
|
|
|
|
No type information for this code.=== tests/cases/compiler/a.js ===
|
|
/**
|
|
* @typedef {Object} Foo
|
|
* @property {number} a
|
|
* @property {number} b
|
|
*/
|
|
|
|
const abc = { a: 1, b: 1, c: 1 };
|
|
>abc : Symbol(abc, Decl(a.js, 6, 5))
|
|
>a : Symbol(a, Decl(a.js, 6, 13))
|
|
>b : Symbol(b, Decl(a.js, 6, 19))
|
|
>c : Symbol(c, Decl(a.js, 6, 25))
|
|
|
|
/** @type {Foo} */
|
|
export default abc;
|
|
>abc : Symbol(abc, Decl(a.js, 6, 5))
|
|
|
|
=== tests/cases/compiler/b.js ===
|
|
import a from "./a";
|
|
>a : Symbol(a, Decl(b.js, 0, 6))
|
|
|
|
a;
|
|
>a : Symbol(a, Decl(b.js, 0, 6))
|
|
|