mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
31 lines
496 B
TypeScript
31 lines
496 B
TypeScript
//// [tests/cases/conformance/jsdoc/declarations/jsDeclarationsClassStatic2.ts] ////
|
|
|
|
//// [Foo.js]
|
|
class Base {
|
|
static foo = "";
|
|
}
|
|
export class Foo extends Base {}
|
|
Foo.foo = "foo";
|
|
|
|
//// [Bar.ts]
|
|
import { Foo } from "./Foo.js";
|
|
|
|
class Bar extends Foo {}
|
|
Bar.foo = "foo";
|
|
|
|
|
|
|
|
|
|
//// [Foo.d.ts]
|
|
declare class Base {
|
|
static foo: string;
|
|
}
|
|
export declare class Foo extends Base {
|
|
}
|
|
export declare namespace Foo {
|
|
var foo: string;
|
|
}
|
|
export {};
|
|
//// [Bar.d.ts]
|
|
export {};
|