1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
| 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;
|
|