Open MohammadSu1 opened 5 days ago
Version Deno 2.1.1
<script lang="ts"> const { color }: { color: string | null } = $props(); </script> <div style="background-color: {color || 'blueviolet'};" > </div>
deno fmt --unstable-component Error formatting: C:\temp\deno-init\test.svelte syntax error at line 6, col 28: expect token `<ident>`, but found `{` Checked 4 files
Originally reported in https://github.com/denoland/deno/issues/26999
This is a known issue, but hard to fix at this moment.
Version Deno 2.1.1
Originally reported in https://github.com/denoland/deno/issues/26999