Use Record type (#7798)

This commit is contained in:
Paulus Schoutsen
2020-11-25 10:40:32 +01:00
committed by GitHub
parent f6cb1ffe20
commit 1d13947e71
27 changed files with 45 additions and 45 deletions

View File

@@ -23,7 +23,7 @@ export interface FlowConfig {
handleFlowStep(
hass: HomeAssistant,
flowId: string,
data: { [key: string]: any }
data: Record<string, any>
): Promise<DataEntryFlowStep>;
deleteFlow(hass: HomeAssistant, flowId: string): Promise<unknown>;