globals
globals: {
Error: ErrorConstructor;
JSONparse: (
text: string,
reviver?: (this: any, key: string, value: any) => any,
) => any;
JSONstringify: {
(
value: any,
replacer?: (this: any, key: string, value: any) => any,
space?: string | number,
): string;
(
value: any,
replacer?: null | (string | number)[],
space?: string | number,
): string;
};
Promise: PromiseConstructor;
String: StringConstructor;
window: Window & typeof globalThis;
}
Type declaration
Error: ErrorConstructor
JSONparse: (text: string, reviver?: (this: any, key: string, value: any) => any) => any
JSONstringify: {
(
value: any,
replacer?: (this: any, key: string, value: any) => any,
space?: string | number,
): string;
(
value: any,
replacer?: null | (string | number)[],
space?: string | number,
): string;
}
Promise: PromiseConstructor
String: StringConstructor
window: Window & typeof globalThis
An implementation of MessagingTransport for Windows
All messages go through
window.chrome.webview
APIs