You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
422 B
20 lines
422 B
declare namespace PostgresInterval {
|
|
export interface IPostgresInterval {
|
|
years?: number;
|
|
months?: number;
|
|
days?: number;
|
|
hours?: number;
|
|
minutes?: number;
|
|
seconds?: number;
|
|
milliseconds?: number;
|
|
|
|
toPostgres(): string;
|
|
|
|
toISO(): string;
|
|
toISOString(): string;
|
|
}
|
|
}
|
|
|
|
declare function PostgresInterval(raw: string): PostgresInterval.IPostgresInterval;
|
|
|
|
export = PostgresInterval;
|
|
|