Skip to content

Commit 5a8d296

Browse files
authored
Renderer: Fix return type in compileAsync method documentation (#32205)
* Renderer: Fix return type in compileAsync method documentation * Review comment: #32205 (comment)
1 parent 43324e6 commit 5a8d296

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/renderers/common/Renderer.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -835,7 +835,7 @@ class Renderer {
835835
* @param {Object3D} scene - The scene or 3D object to precompile.
836836
* @param {Camera} camera - The camera that is used to render the scene.
837837
* @param {?Scene} targetScene - If the first argument is a 3D object, this parameter must represent the scene the 3D object is going to be added.
838-
* @return {Promise<Array|undefined>} A Promise that resolves when the compile has been finished.
838+
* @return {Promise} A Promise that resolves when the compile has been finished.
839839
*/
840840
async compileAsync( scene, camera, targetScene = null ) {
841841

0 commit comments

Comments
 (0)