Skip to content

Commit 2a74f40

Browse files
sharttemfranzke
andauthored
Add TypeScript Definitions (#252)
Add a typescript definition file to enable importing tokens from TypeScript code Co-authored-by: Maximilian Franzke <787658+mfranzke@users.noreply.github.com>
1 parent 27bc9d5 commit 2a74f40

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

style-dictionary.config.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,10 @@
3131
{
3232
"destination": "tokens.js",
3333
"format": "javascript/es6"
34+
},
35+
{
36+
"destination": "tokens.d.ts",
37+
"format": "typescript/es6-declarations"
3438
}
3539
]
3640
},

0 commit comments

Comments
 (0)