From 250a4044f013df55626ffa3869d81753f2269b63 Mon Sep 17 00:00:00 2001 From: Alexander Friesen Date: Wed, 17 Mar 2021 19:49:05 +0100 Subject: [PATCH] fix initialize type --- src/initialize.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/initialize.d.ts b/src/initialize.d.ts index bb3f5c2..be6bbc2 100644 --- a/src/initialize.d.ts +++ b/src/initialize.d.ts @@ -7,7 +7,7 @@ export interface InitializeOptions { animationLoop?: Function } -export function initialize(world: ECSYThreeWorld, options?: InitializeOptions) : { +export function initialize(world?: ECSYThreeWorld, options?: InitializeOptions) : { world: ECSYThreeWorld, camera: PerspectiveCamera, scene: Scene,