79746545

Date: 2025-08-26 07:47:28
Score: 0.5
Natty:
Report link

This is because StyleDictionary is a constructor, not an object with a member function create. Use new StyleDictionary.create(/* arguments */).

Please see the documentation: getting started. Here, you will also find a couple examples with new StyleDictionary.create(/* arguments */).

This is the source code where StyleDictionary is defined: https://github.com/style-dictionary/style-dictionary/blob/main/lib/StyleDictionary.js.

Reasons:
  • Probably link only (1):
  • Has code block (-0.5):
Posted by: Sergey A Kryukov