chore: Enable noImplicitAny across the codebase (#2667)

This commit is contained in:
Dermot Duffy
2026-08-09 13:22:57 -07:00
committed by GitHub
parent 6807fd7690
commit a8ce6acb44
27 changed files with 311 additions and 180 deletions
+4 -1
View File
@@ -4,6 +4,7 @@ import { afterEach, describe, expect, it, vi } from 'vitest';
import {
actionHandler,
type ActionHandlerInterface,
type AdvancedCameraCardActionHandlerOptions,
} from '../src/action-handler-directive';
import { fireHASSEvent } from '../src/ha/fire-hass-event';
import type { ActionHandlerDetail } from '../src/ha/types';
@@ -23,7 +24,9 @@ const getActionHandler = (): ActionHandlerInterface => {
return el as ActionHandlerInterface;
};
const createBoundElement = (options?: Record<string, unknown>): HTMLElement => {
const createBoundElement = (
options?: AdvancedCameraCardActionHandlerOptions,
): HTMLElement => {
const handler = getActionHandler();
const element = document.createElement('div');
handler.bind(element, options);