From a3cc65066272e66d64b6a0d3d9761b02f370dbf6 Mon Sep 17 00:00:00 2001 From: Jakob Engelbrecht Date: Wed, 16 Feb 2022 16:35:56 +0100 Subject: [PATCH] fix(types): Correct type of `Core.format` --- 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;