Skip to content

Commit 953ec5b

Browse files
author
uesyn
committed
add V1MicroTime
1 parent d60c5f1 commit 953ec5b

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/types.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,3 +14,9 @@ export interface KubernetesListObject<T extends KubernetesObject> {
1414
}
1515

1616
export type IntOrString = number | string;
17+
18+
export class V1MicroTime extends Date {
19+
public toISOString(): string {
20+
return super.toISOString().slice(0, -1) + '000Z';
21+
}
22+
}

0 commit comments

Comments
 (0)