diff --git a/types/three/src/core/Object3D.d.ts b/types/three/src/core/Object3D.d.ts index 42f70a1ba..98878fede 100644 --- a/types/three/src/core/Object3D.d.ts +++ b/types/three/src/core/Object3D.d.ts @@ -235,14 +235,14 @@ export class Object3D ext * are not renderable and thus this callback is not executed for such objects. * @defaultValue `() => {}` */ - onBeforeRender: ( + onBeforeRender( renderer: WebGLRenderer, scene: Scene, camera: Camera, geometry: BufferGeometry, material: Material, group: Group, - ) => void; + ): void; /** * An optional callback that is executed immediately after a 3D object is rendered. @@ -254,14 +254,14 @@ export class Object3D ext * are not renderable and thus this callback is not executed for such objects. * @defaultValue `() => {}` */ - onAfterRender: ( + onAfterRender( renderer: WebGLRenderer, scene: Scene, camera: Camera, geometry: BufferGeometry, material: Material, group: Group, - ) => void; + ): void; /** * The default {@link up} direction for objects, also used as the default position for {@link THREE.DirectionalLight | DirectionalLight},