From 36ae69c96eded5f4af4a9bd63e319f64b62b0e63 Mon Sep 17 00:00:00 2001 From: Kunal Kundu <51631122+tinfoil-knight@users.noreply.github.com> Date: Mon, 13 Apr 2020 21:18:55 +0530 Subject: [PATCH] fix: add missing generic type to registerPreviewTemplate (#3597) --- packages/netlify-cms-core/index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/netlify-cms-core/index.d.ts b/packages/netlify-cms-core/index.d.ts index 0f6ee63c..062fdae5 100644 --- a/packages/netlify-cms-core/index.d.ts +++ b/packages/netlify-cms-core/index.d.ts @@ -204,7 +204,7 @@ declare module 'netlify-cms-core' { registerLocale: (locale: string, phrases: CmsLocalePhrases) => void; registerMediaLibrary: (mediaLibrary: CmsMediaLibrary, options?: CmsMediaLibraryOptions) => void; registerPreviewStyle: (filePath: string, options?: PreviewStyleOptions) => void; - registerPreviewTemplate: (name: string, component: ComponentType) => void; + registerPreviewTemplate: (name: string, component: ComponentType
) => void; registerWidget: ( widget: string | CmsWidgetParam, control?: ComponentType,