Skip to content

Commit

Permalink
fix(types): Correct type of Core.format (#780)
Browse files Browse the repository at this point in the history
closes #779
  • Loading branch information
jakobe authored Feb 22, 2022
1 parent 3217ba3 commit 9868b7e
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions types/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ import {Dictionary as _Dictionary} from './Dictionary';
import {File as _File} from './File';
import {FileHeader as _FileHeader} from './FileHeader';
import {Filter as _Filter} from './Filter';
import {Format as _Format} from './Format';
import {Format as _Format, Formatter as _Formatter } from './Format';
import {FormatHelpers as _FormatHelpers} from './FormatHelpers';
import {Options as _Options} from './Options';
import {Parser as _Parser} from './Parser';
Expand All @@ -44,6 +44,7 @@ declare namespace StyleDictionary {
type Filter = _Filter;
type Format = _Format;
type FormatHelpers = _FormatHelpers;
type Formatter = _Formatter;
type Options = _Options;
type Parser = _Parser;
type Platform = _Platform;
Expand All @@ -63,7 +64,7 @@ declare namespace StyleDictionary {

transform: Record<string, Transform>;
transformGroup: Record<string, TransformGroup['transforms']>;
format: Record<string, Format>;
format: Record<string, Formatter>;
action: Record<string, Action>;
filter: Record<string, Filter>;
fileHeader: Record<string, FileHeader>;
Expand Down

0 comments on commit 9868b7e

Please sign in to comment.