Skip to content

Commit 08e3e26

Browse files
authored
Update filters.md (#1454)
Fix typo when inlining filter hooks, the type signature is not the same as a filter register config parameter.
1 parent 85d12e0 commit 08e3e26

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/src/content/docs/reference/Hooks/filters.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ StyleDictionary.registerFilter(myFilter);
5151
export default {
5252
hooks: {
5353
filters: {
54-
'my-filter': myFilter,
54+
'my-filter': myFilter.filter,
5555
},
5656
},
5757
// ... the rest of the configuration

0 commit comments

Comments
 (0)