Skip to content

Commit

Permalink
fix(menu-flyout): add default value for lists to avoid early type err…
Browse files Browse the repository at this point in the history
…ors (#1073)
  • Loading branch information
nowseemee authored May 24, 2022
1 parent 870d1a9 commit 7f20cef
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ export class MenuFlyout {
@Prop() styles?: string;

private trigger: HTMLElement;
private lists: Set<HTMLScaleMenuFlyoutListElement>;
private lists: Set<HTMLScaleMenuFlyoutListElement> = new Set();

@Listen('scale-select')
handleScaleSelect({ detail }) {
Expand Down

0 comments on commit 7f20cef

Please sign in to comment.