Skip to content

Commit

Permalink
fix(types): workaround for popper weak type
Browse files Browse the repository at this point in the history
Fixes #644
  • Loading branch information
benjamincanac committed Nov 30, 2023
1 parent 4a9b66a commit 5718dfd
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/runtime/types/popper.d.ts
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit 5718dfd

Please sign in to comment.