Skip to content

Commit

Permalink
chore: add toggleEl type (#256)
Browse files Browse the repository at this point in the history
  • Loading branch information
WingLim authored Jul 6, 2021
1 parent be2defe commit 4690881
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion assets/ts/colorScheme.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ class StackColorScheme {
localStorage.setItem(this.localStorageKey, this.currentScheme);
}

private bindClick(toggleEl) {
private bindClick(toggleEl: HTMLElement) {
toggleEl.addEventListener('click', (e) => {
if (this.isDark()) {
/// Disable dark mode
Expand Down

0 comments on commit 4690881

Please sign in to comment.