Type Alias: DashboardSource<F>
ts
type DashboardSource<F> =
| Dashboard<F>
| {
current: Dashboard<F> | null;
}
| (() =>
| Dashboard<F>
| null
| undefined)
| null
| undefined;Defined in: packages/svelte/src/runes.svelte.ts:26
Where a dashboard comes from: the object useDashboard returns, a getter, or the dashboard itself. Null or undefined while it loads.
Type Parameters
| Type Parameter | Default type |
|---|---|
F extends string | string |