Skip to content
This repository has been archived by the owner on Jan 13, 2025. It is now read-only.

Commit

Permalink
WIP: Remove unnecessary <HTMLElement> generic param from `querySele…
Browse files Browse the repository at this point in the history
…ctor()`
  • Loading branch information
acdvorak committed Feb 7, 2019
1 parent acf7e31 commit 541b4e4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/mdc-snackbar/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -53,9 +53,9 @@ class MDCSnackbar extends MDCComponent<MDCSnackbarFoundation> {
}

initialSyncWithDOM() {
this.surfaceEl_ = this.root_.querySelector<HTMLElement>(SURFACE_SELECTOR)!;
this.labelEl_ = this.root_.querySelector<HTMLElement>(LABEL_SELECTOR)!;
this.actionEl_ = this.root_.querySelector<HTMLElement>(ACTION_SELECTOR)!;
this.surfaceEl_ = this.root_.querySelector(SURFACE_SELECTOR)!;
this.labelEl_ = this.root_.querySelector(LABEL_SELECTOR)!;
this.actionEl_ = this.root_.querySelector(ACTION_SELECTOR)!;

this.handleKeyDown_ = (evt) => this.foundation_.handleKeyDown(evt);
this.handleSurfaceClick_ = (evt) => {
Expand Down

0 comments on commit 541b4e4

Please sign in to comment.