summaryrefslogtreecommitdiff
path: root/op_crates/web/internal.d.ts
diff options
context:
space:
mode:
Diffstat (limited to 'op_crates/web/internal.d.ts')
-rw-r--r--op_crates/web/internal.d.ts6
1 files changed, 6 insertions, 0 deletions
diff --git a/op_crates/web/internal.d.ts b/op_crates/web/internal.d.ts
index 458f4a173..521563810 100644
--- a/op_crates/web/internal.d.ts
+++ b/op_crates/web/internal.d.ts
@@ -12,5 +12,11 @@ declare namespace globalThis {
declare var location: {
getLocationHref(): string | undefined;
};
+
+ declare var base64: {
+ byteLength(b64: string): number;
+ toByteArray(b64: string): Uint8Array;
+ fromByteArray(uint8: Uint8Array): string;
+ };
}
}