chore: migrate to ts
This commit is contained in:
@@ -1,12 +1,8 @@
|
||||
<script>
|
||||
<script lang="ts">
|
||||
import "../app.css";
|
||||
/**
|
||||
* @typedef {Object} Props
|
||||
* @property {import('svelte').Snippet} [children]
|
||||
*/
|
||||
import type { Snippet } from 'svelte';
|
||||
|
||||
/** @type {Props} */
|
||||
let { children } = $props();
|
||||
let { children }: { children?: Snippet } = $props();
|
||||
</script>
|
||||
|
||||
<header class="fixed z-50 mix-blend-difference p-1">
|
||||
|
||||
Reference in New Issue
Block a user