Skip to content

Commit cba043c

Browse files
committed
revert and update .prettierignore
1 parent 87c1ba3 commit cba043c

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

.prettierignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,3 +37,7 @@ sites/svelte.dev/src/lib/generated
3737
.changeset
3838
pnpm-lock.yaml
3939
pnpm-workspace.yaml
40+
41+
# Temporarily ignore this file to avoid merge conflicts.
42+
# see: https://github.com/sveltejs/svelte/pull/9609
43+
documentation/docs/05-misc/03-typescript.md

documentation/docs/05-misc/03-typescript.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -177,11 +177,9 @@ You cannot use TypeScript in your template's markup. For example, the following
177177
let count = 10;
178178
</script>
179179
180-
<!-- ❌ Does not work -->
181-
<h1>Count as string: {count as string}!</h1>
180+
<h1>Count as string: {count as string}!</h1> <!-- ❌ Does not work -->
182181
{#if count > 4}
183-
<!-- ❌ Does not work -->
184-
{@const countString: string = count}
182+
{@const countString: string = count} <!-- ❌ Does not work -->
185183
{countString}
186184
{/if}
187185
```

0 commit comments

Comments
 (0)