mirror of
https://github.com/LukeHagar/website.git
synced 2025-12-09 04:22:13 +00:00
fix: svelte5 compatibility type checks and migrations.
This commit is contained in:
@@ -10,7 +10,7 @@
|
||||
|
||||
let { data } = $props();
|
||||
|
||||
type MappedTutorial = (typeof data.tutorials)[number];
|
||||
type MappedTutorial = (typeof data.tutorials)[number]['tutorials'][number];
|
||||
|
||||
const iconMap: Record<string, string> = {
|
||||
'react native': 'icon-react-native',
|
||||
|
||||
Reference in New Issue
Block a user