Skip to content

Commit

Permalink
fix(types): className optional parameter (#683)
Browse files Browse the repository at this point in the history
Following the [config](https://github.com/amzn/style-dictionary/blob/main/examples/basic/config.json#L100) available, `File` objects should support a `className`.
  • Loading branch information
alexsurelee authored Aug 24, 2021
1 parent a482a03 commit 639d7da
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion types/File.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,9 @@ import { Options } from './Options';
import { TransformedToken } from './TransformedToken';

export interface File {
className?: string;
destination: string;
format?: string;
filter?: string | Partial<TransformedToken> | ((token: TransformedToken) => boolean);
options?: Options;
}
}

0 comments on commit 639d7da

Please sign in to comment.