Skip to content

Commit

Permalink
Add TypeScript Definitions (#252)
Browse files Browse the repository at this point in the history
Add a typescript definition file to enable importing tokens from TypeScript code

Co-authored-by: Maximilian Franzke <[email protected]>
  • Loading branch information
shartte and mfranzke authored Jul 3, 2023
1 parent 27bc9d5 commit 2a74f40
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions style-dictionary.config.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,10 @@
{
"destination": "tokens.js",
"format": "javascript/es6"
},
{
"destination": "tokens.d.ts",
"format": "typescript/es6-declarations"
}
]
},
Expand Down

0 comments on commit 2a74f40

Please sign in to comment.