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

9 lines
138 B
TypeScript

// @noEmit: true
// @allowJs: true
// @checkJs: true
// @Filename: a.d.ts
declare class A {}
// @Filename: b.js
const A = { };
A.d = { };