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-918: add correct return types for sortByReference #919

Closed kwittkowsky closed 1 year ago

kwittkowsky commented 1 year ago

Issue 918, if available:

Description of changes:

Added correct return type of the function sortByReference in formatHelpers. The function returns a sorting function

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