chore: Enable noImplicitAny across the codebase (#2667)

This commit is contained in:
Dermot Duffy authored and GitHub committed 2026-08-09 13:22:57 -07:00
1 parent 6807fd7690
commit a8ce6acb44
27 files changed
+311 -180

No files matched your search

+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);