diff --git a/ts/src/composite/index.ts b/ts/src/composite/index.ts index c645cad..d670104 100644 --- a/ts/src/composite/index.ts +++ b/ts/src/composite/index.ts @@ -20,7 +20,7 @@ class Department implements component { class Company implements component { name: string; - children: Company[] = []; + children: component[] = []; constructor(name: string) { this.name = name; }