angular-docs-cn/tools/ts-api-guardian/test/fixtures/classes_and_interfaces.d.ts

15 lines
355 B
TypeScript
Raw Normal View History

export declare class A {
field: string;
method(a: string): number;
}
export interface B {
field: A;
}
export declare class C {
private privateProp;
propWithDefault: number;
protected protectedProp: number;
someProp: string;
constructor(someProp: string, propWithDefault: number, privateProp: any, protectedProp: number);
}