Type alias Config

Config: {
    encodeStrategy?: EncodeType;
    whitelists?: string[];
}

Type declaration

  • Optional encodeStrategy?: EncodeType

    strategy to encode data to URL

    Default Value

    UTF-8 for Node.js and Blob for browser.

  • Optional whitelists?: string[]

    a list of JS objects that are whitelisted for the untrusted code to access.

    Default Value

    defaultSafeObjects

Generated using TypeDoc