file.name is not specified in File.d.ts even though it is used in javascript/object and javascript/umd formats. This causes type errors when trying to use this functionality.
What's the suggested typing to use? The context is a Platform configuration in a StyleDictionary.Config.
file.name
is not specified inFile.d.ts
even though it is used injavascript/object
andjavascript/umd
formats. This causes type errors when trying to use this functionality.What's the suggested typing to use? The context is a
Platform
configuration in aStyleDictionary.Config
.https://github.com/amzn/style-dictionary/blob/2cf72f3f89996503608c238d7f3bcbab5b53e719/lib/common/formats.js#L289