amzn / style-dictionary

A build system for creating cross-platform styles.
https://styledictionary.com
Apache License 2.0
3.87k stars 543 forks source link

fix(types): fix filter config key expected matcher value #883

Closed pascalduez closed 1 year ago

pascalduez commented 1 year ago

Description of changes:

The filter config key expect an object of type { name: string, matcher: Matcher } and not { name: string, matcher: Filter }.
Which is different from registerFilter that accept a Filter object.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.