fix: add pending snippet to <svelte:boundary> types

pull/16390/head
Minsoo Choo 2 months ago
parent 8e73fd4b03
commit b892999718
No known key found for this signature in database
GPG Key ID: 067C0F6A7D0BDDE3

@ -247,6 +247,7 @@ declare global {
'svelte:boundary': { 'svelte:boundary': {
onerror?: (error: unknown, reset: () => void) => void; onerror?: (error: unknown, reset: () => void) => void;
failed?: import('svelte').Snippet<[error: unknown, reset: () => void]>; failed?: import('svelte').Snippet<[error: unknown, reset: () => void]>;
pending?: import('svelte').Snippet;
}; };
// don't type svelte:options, it would override the types in svelte/elements and it isn't extendable anyway // don't type svelte:options, it would override the types in svelte/elements and it isn't extendable anyway

Loading…
Cancel
Save