Skip to content

Commit

Permalink
fix comment
Browse files Browse the repository at this point in the history
  • Loading branch information
lukasoppermann committed Jul 12, 2023
1 parent 2f2f454 commit 3c8aea0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/transformers/namePathToSlashNotation.ts
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
import type StyleDictionary from 'style-dictionary'

/**
* @description converts the [TransformedToken's](https://github.com/amzn/style-dictionary/blob/main/types/TransformedToken.d.ts) `.path` array to a dot.notation string
* @description converts the [TransformedToken's](https://github.com/amzn/style-dictionary/blob/main/types/TransformedToken.d.ts) `.path` array to a slash/notation string
* @type name transformer — [StyleDictionary.NameTransform](https://github.com/amzn/style-dictionary/blob/main/types/Transform.d.ts)
* @matcher omitted to match all tokens
* @transformer returns `string` on dot.notation
* @transformer returns `string` on slash/notation
*/
export const namePathToSlashNotation: StyleDictionary.Transform = {
type: `name`,
Expand Down

0 comments on commit 3c8aea0

Please sign in to comment.