Files
Ammaar Reshi d6025af146 Initial commit
2025-01-04 14:06:53 +00:00

22 lines
447 B
TypeScript

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;
toISOStringShort(): string;
}
}
declare function PostgresInterval(raw: string): PostgresInterval.IPostgresInterval;
export = PostgresInterval;