chore: add document and window to PreviewTemplateComponentProps type (#5447)

This commit is contained in:
stefanprobst 2021-05-30 16:09:48 +02:00 committed by GitHub
parent 9b7032c792
commit 3749414502
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -535,6 +535,8 @@ declare module 'netlify-cms-core' {
config: Map<string, any>; config: Map<string, any>;
fields: List<Map<string, any>>; fields: List<Map<string, any>>;
isLoadingAsset: boolean; isLoadingAsset: boolean;
window: Window;
document: Document;
}; };
export interface CMS { export interface CMS {