npm install --save @types/alpinejs__anchor
This package contains type definitions for @alpinejs/anchor (https://alpinejs.dev/plugins/anchor).
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/alpinejs__anchor.
import type { PluginCallback } from "alpinejs";
declare const anchorPlugin: PluginCallback;
export default anchorPlugin;
declare module "alpinejs" {
interface Magics<T> {
$anchor: { x: number; y: number };
}
}
- Last updated: Fri, 08 Mar 2024 17:07:21 GMT
- Dependencies: @types/alpinejs
These definitions were written by Eric Kwoka.