From 5718dfd69a7040987354485b30f7da7aee342abb Mon Sep 17 00:00:00 2001 From: Benjamin Canac Date: Thu, 30 Nov 2023 16:29:37 +0100 Subject: [PATCH] fix(types): workaround for `popper` weak type Fixes #644 --- src/runtime/types/popper.d.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/runtime/types/popper.d.ts b/src/runtime/types/popper.d.ts index 260e6d3de3..4c8b4e3cbc 100644 --- a/src/runtime/types/popper.d.ts +++ b/src/runtime/types/popper.d.ts @@ -1,6 +1,8 @@ import type { Placement, PositioningStrategy } from '@popperjs/core' export interface PopperOptions { + // Workaround for weak types: https://mariusschulz.com/blog/weak-type-detection-in-typescript#workarounds-for-weak-types + [key: string]: unknown locked?: boolean overflowPadding?: number offsetDistance?: number