TypeScript/tests/baselines/reference/importAssertion3(module=esnext).types

22 lines
622 B
Plaintext
Raw Permalink Normal View History

=== tests/cases/conformance/importAssertion/0.ts ===
export interface I { }
No type information for this code.
No type information for this code.=== tests/cases/conformance/importAssertion/1.ts ===
export type {} from './0' assert { type: "json" }
>type : any
export type { I } from './0' assert { type: "json" }
>I : import("tests/cases/conformance/importAssertion/0").I
>type : any
=== tests/cases/conformance/importAssertion/2.ts ===
import type { I } from './0' assert { type: "json" }
>I : I
>type : any
import type * as foo from './0' assert { type: "json" }
>foo : typeof foo
>type : any