diff options
Diffstat (limited to 'op_crates/web/internal.d.ts')
-rw-r--r-- | op_crates/web/internal.d.ts | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/op_crates/web/internal.d.ts b/op_crates/web/internal.d.ts index 521563810..18220b08e 100644 --- a/op_crates/web/internal.d.ts +++ b/op_crates/web/internal.d.ts @@ -5,6 +5,25 @@ declare namespace globalThis { declare namespace __bootstrap { + declare var infra: { + collectSequenceOfCodepoints( + input: string, + position: number, + condition: (char: string) => boolean, + ): { + result: string; + position: number; + }; + }; + + declare var mimesniff: { + parseMimeType(input: string): { + type: string; + subtype: string; + parameters: Map<string, string>; + } | null; + }; + declare var eventTarget: { EventTarget: typeof EventTarget; }; |