mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
21 lines
304 B
TypeScript
21 lines
304 B
TypeScript
//// [tests/cases/compiler/declarationMerging1.ts] ////
|
|
|
|
//// [file1.ts]
|
|
class A {
|
|
protected _f: number;
|
|
getF() { return this._f; }
|
|
}
|
|
|
|
//// [file2.ts]
|
|
interface A {
|
|
run();
|
|
}
|
|
|
|
//// [file1.js]
|
|
"use strict";
|
|
class A {
|
|
getF() { return this._f; }
|
|
}
|
|
//// [file2.js]
|
|
"use strict";
|