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;
|
||||
registerEventListener: (
|
||||
eventListener: CmsEventListener,
|
||||
options: CmsEventListenerOptions,
|
||||
options?: CmsEventListenerOptions,
|
||||
) => void;
|
||||
registerLocale: (locale: string, phrases: CmsLocalePhrases) => void;
|
||||
registerMediaLibrary: (mediaLibrary: CmsMediaLibrary, options?: CmsMediaLibraryOptions) => void;
|
||||
|
Loading…
x
Reference in New Issue
Block a user