diff --git a/src/lib/util/props.ts b/src/lib/util/props.ts index a93b6be..da38936 100644 --- a/src/lib/util/props.ts +++ b/src/lib/util/props.ts @@ -20,7 +20,7 @@ export type PropsContainer = { * Special props extension for svelte-konva Stage (Forwards rest props to canvas div container) */ export type PropsStage = { - divWrapperProps: { + divWrapperProps?: { [key: string]: any; // Everything in this object is forwarded to the wrapper div }; };