fix(types): mark registerEventListener options as optional (#5443)
This commit is contained in:
parent
5a8e9802fa
commit
3f351ea745
2
packages/netlify-cms-core/index.d.ts
vendored
2
packages/netlify-cms-core/index.d.ts
vendored
@ -550,7 +550,7 @@ declare module 'netlify-cms-core' {
|
|||||||
registerEditorComponent: (options: EditorComponentOptions) => void;
|
registerEditorComponent: (options: EditorComponentOptions) => void;
|
||||||
registerEventListener: (
|
registerEventListener: (
|
||||||
eventListener: CmsEventListener,
|
eventListener: CmsEventListener,
|
||||||
options: CmsEventListenerOptions,
|
options?: CmsEventListenerOptions,
|
||||||
) => void;
|
) => void;
|
||||||
registerLocale: (locale: string, phrases: CmsLocalePhrases) => void;
|
registerLocale: (locale: string, phrases: CmsLocalePhrases) => void;
|
||||||
registerMediaLibrary: (mediaLibrary: CmsMediaLibrary, options?: CmsMediaLibraryOptions) => void;
|
registerMediaLibrary: (mediaLibrary: CmsMediaLibrary, options?: CmsMediaLibraryOptions) => void;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user