diff --git a/src/app.d.ts b/src/app.d.ts index 726c9be..d17213d 100644 --- a/src/app.d.ts +++ b/src/app.d.ts @@ -16,6 +16,13 @@ declare global { // interface PageState {} // interface Platform {} } + + declare namespace svelteHTML { + interface HTMLAttributes { + /** This element will be dispatched once an element with [use:lazyload] starts intersecting with the viewport. */ + onLazyVisible?: (event: CustomEvent) => void; + } + } } export {};