File tree 2 files changed +5
-3
lines changed
2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -125,8 +125,10 @@ export interface EditorLocaleSettings {
125
125
export interface SharedEditorSDK {
126
126
editor : {
127
127
editorInterface : EditorInterface
128
- onLocaleSettingsChanged : ( callback : ( value : EditorLocaleSettings ) => any ) => Function
129
- onShowDisabledFieldsChanged : ( callback : ( value : boolean ) => any ) => Function
128
+ onLocaleSettingsChanged : (
129
+ callback : ( localeSettings : EditorLocaleSettings ) => void
130
+ ) => ( ) => void
131
+ onShowDisabledFieldsChanged : ( callback : ( showDisabledFields : boolean ) => any ) => ( ) => void
130
132
}
131
133
/** Allows to read and update the value of any field of the current entry and to get the entry's metadata */
132
134
entry : EntryAPI
Original file line number Diff line number Diff line change @@ -76,5 +76,5 @@ export interface NavigatorAPI {
76
76
openAppConfig : ( ) => Promise < void >
77
77
openEntriesList : ( ) => Promise < void >
78
78
openAssetsList : ( ) => Promise < void >
79
- onSlideInNavigation : ( fn : ( slide : NavigatorSlideInfo ) => void ) => Function
79
+ onSlideInNavigation : ( fn : ( slide : NavigatorSlideInfo ) => void ) => ( ) => void
80
80
}
You can’t perform that action at this time.
0 commit comments