swc/crates/swc_ecma_parser/tests/tsc/importAssertion3.ts

16 lines
365 B
TypeScript
Raw Normal View History

// @declaration: true
// @target: es2015
// @module: es2015, esnext
// @filename: 0.ts
export interface I { }
// @filename: 1.ts
export type {} from './0' assert { type: "json" }
export type { I } from './0' assert { type: "json" }
// @filename: 2.ts
import type { I } from './0' assert { type: "json" }
import type * as foo from './0' assert { type: "json" }