Fix implicit any TypeScript error

This commit is contained in:
Dmitry Lyzo
2022-02-18 14:27:39 +03:00
parent e30a252c8a
commit 57895e724c
23 changed files with 72 additions and 48 deletions
@@ -7,7 +7,7 @@ type IProps = {
icon: string,
}
const createButtonElement = ({ className, title, icon }) => ({
const createButtonElement = ({ className, title, icon }: { className?: string, title: string, icon: string }) => ({
__html: `<button
is="emby-button"
type="button"