mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
The onError handler for LoadingManager takes an url as a parameter, as shown in the docs: https://threejs.org/docs/#api/en/loaders/managers/LoadingManager.onError
This commit is contained in:
parent
a2d840d6a6
commit
eaf04889a9
2
types/three/three-core.d.ts
vendored
2
types/three/three-core.d.ts
vendored
@ -2294,7 +2294,7 @@ export class JSONLoader extends Loader {
|
||||
* Handles and keeps track of loaded and pending data.
|
||||
*/
|
||||
export class LoadingManager {
|
||||
constructor(onLoad?: () => void, onProgress?: (url: string, loaded: number, total: number) => void, onError?: () => void);
|
||||
constructor(onLoad?: () => void, onProgress?: (url: string, loaded: number, total: number) => void, onError?: (url: string) => void);
|
||||
|
||||
onStart?: (url: string, loaded: number, total: number) => void;
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user