12 lines
No EOL
406 B
TypeScript
12 lines
No EOL
406 B
TypeScript
// Squelch warnings of image imports from your assets dir
|
|
declare module '$lib/assets/*' {
|
|
const meta
|
|
export default meta
|
|
}
|
|
|
|
// Svelte 5 runes - compiler macros
|
|
declare const $props: <T = {}>() => T;
|
|
declare const $state: <T>(initial: T) => T;
|
|
declare const $derived: <T>(fn: () => T) => T;
|
|
declare const $effect: (fn: () => void | (() => void)) => void;
|
|
declare const $bindable: <T>(initial?: T) => T; |