ResourceLoaderCallback: ((err: string | null, resource?: *) => any)

Type declaration

    • (err, resource?): any
    • Parameters

      • err: string | null

        The error message in the case where the load fails.

      • Optionalresource: *

        The resource that has been successfully loaded.

      Returns any