Skip to content

Commit a3ba6da

Browse files
committed
fix(ts): add definition for AV.Cloud.getServerDate
1 parent 9d0ad83 commit a3ba6da

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

storage.d.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1106,7 +1106,7 @@ export namespace Push {
11061106
function send<T>(data: PushData, options?: AuthOptions): Promise<T>;
11071107

11081108
interface PushData {
1109-
prod?: "dev" | "prod";
1109+
prod?: 'dev' | 'prod';
11101110
channels?: string[];
11111111
push_time?: Date;
11121112
expiration_time?: Date;
@@ -1136,6 +1136,7 @@ export namespace Cloud {
11361136
authOptions?: AuthOptions
11371137
): Promise<Captcha>;
11381138
function verifyCaptcha(code: string, captchaToken: string): Promise<void>;
1139+
function getServerDate(): Promise<Date>;
11391140
}
11401141

11411142
interface ServerURLs {

0 commit comments

Comments
 (0)