mirror of
https://github.com/LukeHagar/sveltesociety.dev.git
synced 2025-12-06 04:21:38 +00:00
* Add @ts-expect errro * Fix store type * Add strictNullChecks * Remove confusing $layout alias * Update packages * Use save-exact * Update vitest
13 lines
223 B
TypeScript
13 lines
223 B
TypeScript
import { writable } from 'svelte/store';
|
|
|
|
export type Recipe = {
|
|
title: string;
|
|
layout: string;
|
|
icon?: string;
|
|
filename: string;
|
|
path: string;
|
|
children: Recipe[];
|
|
};
|
|
|
|
export const categories = writable<Recipe[]>([]);
|