From eaf04889a9af0e5afaec0bfd4f2954cfdf8a358e Mon Sep 17 00:00:00 2001 From: David Pritchard Date: Tue, 5 Feb 2019 14:57:28 -0500 Subject: [PATCH] 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 --- types/three/three-core.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/types/three/three-core.d.ts b/types/three/three-core.d.ts index ee89a16bed..7d871cae58 100755 --- a/types/three/three-core.d.ts +++ b/types/three/three-core.d.ts @@ -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;