Interface ITrustedTypePolicyOptions

interface ITrustedTypePolicyOptions {
    createHTML?: ((input, ...arguments) => string);
    createScript?: ((input, ...arguments) => string);
    createScriptURL?: ((input, ...arguments) => string);
}

Properties

createHTML?: ((input, ...arguments) => string)

Type declaration

    • (input, ...arguments): string
    • Parameters

      • input: string
      • Rest ...arguments: any[]

      Returns string

createScript?: ((input, ...arguments) => string)

Type declaration

    • (input, ...arguments): string
    • Parameters

      • input: string
      • Rest ...arguments: any[]

      Returns string

createScriptURL?: ((input, ...arguments) => string)

Type declaration

    • (input, ...arguments): string
    • Parameters

      • input: string
      • Rest ...arguments: any[]

      Returns string