4 ms·
Can you elaborate on lacking typescript support in stores? interface Book {...} export const selectedBook = writable<Book|null>(null); Works fine.
by wildrhythms 3y ago
Can you elaborate on lacking typescript support in stores?
interface Book {...}
export const selectedBook = writable<Book|null>(null);
Works fine.
- hbbio 3y agoLacking TypeScript support is in addition to missing store features, sorry it was maybe not clear from my first sentence. Namely, unavoidable TS errors in the Svelte parts that require tricks mostly because the full TS syntax is not supported inside components.