Files
test-pg/node_modules/postgres-interval/index.d.ts
Fergus Molloy c762544c70
Some checks failed
Actions / runner-job (push) Failing after 27s
init
2025-07-28 01:44:37 +01:00

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