Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(types): Correct type of Core.format #780

Merged
merged 1 commit into from
Feb 22, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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