mirror of
https://github.com/swc-project/swc.git
synced 2024-12-26 15:12:08 +03:00
11 lines
171 B
TypeScript
11 lines
171 B
TypeScript
// @noEmit: true
|
|
// @allowJs: true
|
|
// @checkJs: true
|
|
// @Filename: a.d.ts
|
|
declare namespace C {
|
|
function bar(): void
|
|
}
|
|
// @Filename: b.js
|
|
C.prototype = {};
|
|
C.bar = 2;
|