pull/13674/head
Dominic Gannaway 2 years ago
parent d6b21f4f6d
commit cdfa314ea1

@ -330,17 +330,19 @@ declare module 'svelte' {
* Used to control transition playback on initial render. The default value is `true` to run transitions.
*/
intro?: boolean;
} & ({} extends Props ? {
/**
* Component properties.
*/
props?: Props;
} : {
/**
* Component properties.
*/
props: Props;
})
} & ({} extends Props
? {
/**
* Component properties.
*/
props?: Props;
}
: {
/**
* Component properties.
*/
props: Props;
});
/**
* The `onMount` function schedules a callback to run as soon as the component has been mounted to the DOM.
* It must be called during the component's initialisation (but doesn't need to live *inside* the component;

Loading…
Cancel
Save