mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
18 lines
293 B
Plaintext
18 lines
293 B
Plaintext
//// [tests/cases/conformance/jsdoc/importDeferJsdoc.ts] ////
|
|
|
|
=== /types.ts ===
|
|
export type X = 1;
|
|
>X : Symbol(X, Decl(types.ts, 0, 0))
|
|
|
|
=== /foo.js ===
|
|
/**
|
|
* @import defer * as ns from "./types"
|
|
*/
|
|
|
|
/**
|
|
* @type { ns.X }
|
|
*/
|
|
let a = 2;
|
|
>a : Symbol(a, Decl(foo.js, 7, 3))
|
|
|