This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /** | |
| * NOTE: This file uses .svelte.ts extension for three reasons: | |
| * 1. Runes support: Enables use of $state, $derived, $effect | |
| * 2. Type safety: Works like normal TypeScript with full type checking | |
| * 3. Easy import: Can be imported without the .svelte extension | |
| * | |
| * Regular .ts files cannot use Svelte runes - they would throw "rune_outside_svelte" error. | |
| * The .svelte.ts extension tells the Svelte compiler to process this file and enable runes. | |
| */ |