diff options
author | Luca Casonato <lucacasonato@yahoo.com> | 2021-04-06 12:55:05 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-04-06 12:55:05 +0200 |
commit | 00e63306cbcc295a87ba662f9f63311a3c6c49ce (patch) | |
tree | 88020a85a0f1d64803841386d2c5711b7ee008dc /op_crates/web/internal.d.ts | |
parent | ff5d072702aee52882787ea85dd73573a8f8f316 (diff) |
refactor: add deno_file op crate (#10019)
Also enables WPT for FileReader.
Diffstat (limited to 'op_crates/web/internal.d.ts')
-rw-r--r-- | op_crates/web/internal.d.ts | 6 |
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; + }; } } |