Skip to content

Commit cc1420e

Browse files
committed
fix: remove DOM-only object references (resolves Maronato#155)
1 parent f024d81 commit cc1420e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ts/propValidators.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ export type PluginOptionsType = Required<
121121
>;
122122
const CONTAINER: RecordPropsDefinition<PluginOptionsType> = {
123123
container: {
124-
type: [HTMLElement, Function],
124+
type: [(Object as unknown) as HTMLElement, Function],
125125
default: () => document.body,
126126
} as PropOptions<NonNullable<PluginOptions["container"]>>,
127127
newestOnTop: COMMON.trueBoolean,

0 commit comments

Comments
 (0)