mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-08-12 21:10:23 +00:00
Update three-core.d.ts
please change the return type of the load method of CubeTextureLoader to reflect the behaviour of the library.
This commit is contained in:
Vendored
+1
-1
@@ -2243,7 +2243,7 @@ export class CubeTextureLoader {
|
||||
corssOrigin: string;
|
||||
path: string;
|
||||
|
||||
load(urls: Array<string>, onLoad?: (texture: CubeTexture) => void, onProgress?: (event: ProgressEvent) => void, onError?: (event: ErrorEvent) => void): void;
|
||||
load(urls: Array<string>, onLoad?: (texture: CubeTexture) => void, onProgress?: (event: ProgressEvent) => void, onError?: (event: ErrorEvent) => void): CubeTexture;
|
||||
setCrossOrigin(crossOrigin: string): CubeTextureLoader;
|
||||
setPath(path: string): CubeTextureLoader;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user