Skip to content

Commit

Permalink
WIP: Add explicit nullable to type
Browse files Browse the repository at this point in the history
  • Loading branch information
acdvorak committed Feb 11, 2019
1 parent d53d1bc commit 01d0276
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/mdc-dialog/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ class MDCDialog extends MDCComponent<MDCDialogFoundation> {
this.buttons_ = [].slice.call(this.root_.querySelectorAll<HTMLElement>(strings.BUTTON_SELECTOR));
this.defaultButton_ = this.root_.querySelector<HTMLElement>(strings.DEFAULT_BUTTON_SELECTOR);
this.focusTrapFactory_ = focusTrapFactory;
this.initialFocusEl_ = initialFocusEl as HTMLElement;
this.initialFocusEl_ = initialFocusEl as HTMLElement | null;
this.buttonRipples_ = [];

for (const buttonEl of this.buttons_) {
Expand Down

0 comments on commit 01d0276

Please sign in to comment.