Skip to content

Commit 3e223c7

Browse files
authored
Apply suggestions from code review
1 parent 56240cb commit 3e223c7

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -226,6 +226,8 @@ To declare that a variable expects the constructor or instance type of a compone
226226
<MyComponent bind:this={componentInstance} />
227227
```
228228

229+
<!-- this is temporary, just testing something -->
230+
229231
## Enhancing built-in DOM types
230232

231233
Svelte provides a best effort of all the HTML DOM types that exist. Sometimes you may want to use experimental attributes or custom events coming from an action. In these cases, TypeScript will throw a type error, saying that it does not know these types. If it's a non-experimental standard attribute/event, this may very well be a missing typing from our [HTML typings](https://github.com/sveltejs/svelte/blob/main/packages/svelte/elements.d.ts). In that case, you are welcome to open an issue and/or a PR fixing it.

0 commit comments

Comments
 (0)