diff --git a/package.json b/package.json index 254ba98..84e743e 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "svelte-floating-ui", "description": "Svelte actions for working with floating ui", - "version": "1.5.4", + "version": "1.5.5", "license": "MIT", "main": "./index.js", "types": "./index.d.ts", diff --git a/src/lib/index.ts b/src/lib/index.ts index e3a523f..861313a 100644 --- a/src/lib/index.ts +++ b/src/lib/index.ts @@ -20,7 +20,7 @@ export type ComputeConfig = Partial & { export type UpdatePosition = (contentOptions?: Omit) => void; export type ReferenceAction = (node: HTMLElement | Writable | VirtualElement) => void; export type ContentAction = (node: HTMLElement, contentOptions?: ComputeConfig) => void; -export type ArrowOptions = { padding?: Padding, element: Writable }; +export type ArrowOptions = { padding?: Padding, element: Writable }; export function createFloatingActions(initOptions?: ComputeConfig): [ReferenceAction, ContentAction, UpdatePosition] { let referenceElement: ReferenceElement;