From 9868b7e1ff4768c84a0f632db500dba6e18a6f44 Mon Sep 17 00:00:00 2001 From: Jakob Engelbrecht Date: Tue, 22 Feb 2022 23:12:33 +0100 Subject: [PATCH] fix(types): Correct type of `Core.format` (#780) closes #779 --- types/index.d.ts | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/types/index.d.ts b/types/index.d.ts index e1aac7628..596ee2f05 100644 --- a/types/index.d.ts +++ b/types/index.d.ts @@ -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'; @@ -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; @@ -63,7 +64,7 @@ declare namespace StyleDictionary { transform: Record; transformGroup: Record; - format: Record; + format: Record; action: Record; filter: Record; fileHeader: Record;