| @@ -4,9 +4,9 @@ | ||
| 4 | 4 | export const isFullSiteEditor = () => { |
| 5 | 5 | return select && !!select('core/edit-site'); |
| 6 | 6 | }; |
| 7 | 7 | |
| 8 | -const applyWithSelect = withSelect((select: Function, props: any): any => { | |
| 8 | +const applyWithSelect: any = withSelect((select: Function, props: any): any => { | |
| 9 | 9 | return { |
| 10 | 10 | metaValue: select('core/editor').getEditedPostAttribute('meta')[ |
| 11 | 11 | props.metaKey |
| 12 | 12 | ], |
| @@ -12,9 +12,9 @@ | ||
| 12 | 12 | ], |
| 13 | 13 | }; |
| 14 | 14 | }); |
| 15 | 15 | |
| 16 | -const applyWithDispatch = withDispatch( | |
| 16 | +const applyWithDispatch: any = withDispatch( | |
| 17 | 17 | (dispatch: Function, props: any): any => { |
| 18 | 18 | return { |
| 19 | 19 | setMetaValue(value: string) { |
| 20 | 20 | dispatch('core/editor').editPost({ meta: { [props.metaKey]: value } }); |