Skip to content

Commit 9efe672

Browse files
authored
Update 18-class.md (#16558)
Rest of doc references 5.16 but this is from 5.19 so added the clarification.
1 parent ec03c7a commit 9efe672

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

documentation/docs/03-template-syntax/18-class.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ The user of this component has the same flexibility to use a mixture of objects,
7171
</Button>
7272
```
7373

74-
Svelte also exposes the `ClassValue` type, which is the type of value that the `class` attribute on elements accept. This is useful if you want to use a type-safe class name in component props:
74+
Since Svelte 5.19, Svelte also exposes the `ClassValue` type, which is the type of value that the `class` attribute on elements accept. This is useful if you want to use a type-safe class name in component props:
7575

7676
```svelte
7777
<script lang="ts">

0 commit comments

Comments
 (0)