ResourceLoaderCallback: ((err, resource?) => any)

Type declaration

    • (err, resource?): any
    • Parameters

      • err: string | null

        The error message in the case where the load fails.

      • Optional resource: *

        The resource that has been successfully loaded.

      Returns any