svelte-ux
Version:
- Increment version in `package.json` and commit as `Version bump to x.y.z` - `npm run publish`
8 lines (7 loc) • 305 B
TypeScript
// https://github.com/sveltejs/language-tools/blob/master/docs/preprocessors/typescript.md
declare namespace svelteHTML {
interface HTMLAttributes<T> {
'on:intersecting'?: (event: CustomEvent<IntersectionObserverEntry>) => any;
'on:mutate'?: (event: CustomEvent<MutationRecord[]>) => any;
}
}