Fix language, remove NOTE:

pull/11522/head
Puru Vijay 2 years ago committed by GitHub
parent e6c18bbea7
commit ab403e92f9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -151,7 +151,7 @@ export function createCounter() {
</button>
```
> NOTE: Runes can only be used in `.svelte.js` or `.svelte.ts` files.
> Runes can only be used in `.svelte.js` and `.svelte.ts` files.
Note that we're using a [get property](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Functions/get) in the returned object, so that `counter.count` always refers to the current value rather than the value at the time the function was called.

Loading…
Cancel
Save