David Catuhe пре 5 година
родитељ
комит
9623405d16
1 измењених фајлова са 2 додато и 2 уклоњено
  1. 2 2
      src/sceneComponent.ts

+ 2 - 2
src/sceneComponent.ts

@@ -201,7 +201,7 @@ export type PointerMoveStageAction = (unTranslatedPointerX: number, unTranslated
 export type PointerUpDownStageAction = (unTranslatedPointerX: number, unTranslatedPointerY: number, pickResult: Nullable<PickingInfo>, evt: PointerEvent) => Nullable<PickingInfo>;
 
 /**
- * Repressentation of a stage in the scene (Basically a list of ordered steps)
+ * Representation of a stage in the scene (Basically a list of ordered steps)
  * @hidden
  */
 export class Stage<T extends Function> extends Array<{ index: number, component: ISceneComponent, action: T }> {
@@ -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);
     }
 
     /**