Interface Config

A library configuration object.

interface Config {
    logException: ((e: unknown) => void);
}

Properties

Properties

logException: ((e: unknown) => void)

A function that logs exceptions. Default is console.error.

Type declaration

    • (e): void
    • Parameters

      • e: unknown

        An exception to log.

      Returns void