@duckduckgo/content-scope-scripts
    Preparing search index...

    Class WindowsMessagingTransportImplements

    An implementation of MessagingTransport for Windows

    All messages go through window.chrome.webview APIs

    Index

    Properties

    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
    messagingContext: MessagingContext

    Methods