{"version":3,"file":"types.mjs","sources":["../../../../../../packages/components/anchor/src/types.ts"],"sourcesContent":["import type { InjectionKey } from 'vue'\n\nexport interface AnchorContext {\n  name: 'Anchor'\n  currentLink: string\n  addLink: (hash: string, node: HTMLElement) => void\n  removeLink: () => void\n  handleClick: (e: Event, hash?: string) => void\n}\n\nexport const anchorInjectionKey: InjectionKey<AnchorContext> = Symbol('ArcoAnchor')\n"],"names":[],"mappings":"AAAY,MAAC,kBAAkB,GAAG,MAAM,CAAC,YAAY;;;;"}