David Catuhe 5 년 전
부모
커밋
01153db3b0
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/sceneComponent.ts

+ 1 - 1
src/sceneComponent.ts

@@ -210,7 +210,7 @@ export class Stage<T extends Function> extends Array<{ index: number, component:
      * @param items The items to add.
      */
     private constructor(items?: { index: number, component: ISceneComponent, action: T }[]) {
-        super(<any>items);
+        super(...<any>items);
     }
 
     /**