Skip to content

Theemo / @theemo/sync / WriterTool

Interface: WriterTool

This is for tools used during the sync command and writes a named collection of tokens onto the disk in the tools required format.

Example

ts
Style Dictionary may be your writer tool and knows how to write the `properties/*` files

Methods

write()

ts
write(tokens): void

Writes a named set to the disk in the format of the tool

Parameters

ParameterTypeDescription
tokensTokenCollection<Token<"unknown">>tokens to write

Returns

void

Source

tool.ts:33