diff --git a/apps/showcase/doc/autocomplete/basicdoc.ts b/apps/showcase/doc/autocomplete/basicdoc.ts index e971d48d392..0e7f4116e19 100644 --- a/apps/showcase/doc/autocomplete/basicdoc.ts +++ b/apps/showcase/doc/autocomplete/basicdoc.ts @@ -21,7 +21,7 @@ interface AutoCompleteCompleteEvent { ` }) export class BasicDoc { - items: any[] | undefined; + items: any[] = []; value: any; code: Code = { @@ -47,7 +47,7 @@ interface AutoCompleteCompleteEvent { standalone: true, }) export class AutocompleteBasicDemo { - items: any[] | undefined; + items: any[] = []; value: any;