0
Fork 0
mirror of https://github.com/withastro/astro.git synced 2025-01-13 22:11:20 -05:00

Add server:defer type

This commit is contained in:
Matthew Phillips 2024-06-25 08:56:34 -04:00
parent 5d09b30051
commit 324f74e55d

View file

@ -86,6 +86,7 @@ export interface AstroBuiltinProps {
'client:media'?: string; 'client:media'?: string;
'client:visible'?: ClientVisibleOptions | boolean; 'client:visible'?: ClientVisibleOptions | boolean;
'client:only'?: boolean | string; 'client:only'?: boolean | string;
'server:defer'?: boolean;
} }
export type ClientVisibleOptions = Pick<IntersectionObserverInit, 'rootMargin'>; export type ClientVisibleOptions = Pick<IntersectionObserverInit, 'rootMargin'>;