helene
Version:
Real-time Web Apps for Node.js
39 lines (38 loc) • 833 B
TypeScript
declare class Address {
city: string;
state: string;
constructor(city: any, state: any);
typeName(): string;
toJSONValue(): {
city: string;
state: string;
};
equals(other: any): boolean;
}
declare class Person {
name: string;
birthDate: Date;
address: Address;
constructor(name: any, birthDate: any, address: any);
typeName(): string;
toJSONValue(): {
name: string;
birthDate: any;
address: any;
};
equals(other: any): any;
}
declare class Holder {
value: any;
constructor(value: any);
typeName(): string;
toJSONValue(): any;
equals(other: any): any;
}
export declare const CustomModels: {
Address: typeof Address;
Person: typeof Person;
Holder: typeof Holder;
addTypes: () => void;
};
export {};