Bump typescript (4) and babel (#7249)

This commit is contained in:
Bram Kragten
2020-10-07 17:58:56 +02:00
committed by GitHub
parent d9ba0e2c46
commit c90c88ecbf
49 changed files with 249 additions and 363 deletions

View File

@@ -105,7 +105,7 @@ export type Action =
export const triggerScript = (
hass: HomeAssistant,
entityId: string,
variables?: {}
variables?: Record<string, unknown>
) => hass.callService("script", computeObjectId(entityId), variables);
export const canExcecute = (state: ScriptEntity) => {