This commit is contained in:
maryia-lapata 2020-01-30 10:24:14 +03:00
parent 3b498003b1
commit f2f9f5e935
2 changed files with 2 additions and 2 deletions

View file

@ -35,7 +35,7 @@ import {
EuiSwitchEvent,
EuiTextArea,
} from '@elastic/eui';
import { FormattedMessage } from '@kbn/i18n/target/types/react';
import { FormattedMessage } from '@kbn/i18n/react';
import React from 'react';
import { EuiText } from '@elastic/eui';
import { i18n } from '@kbn/i18n';

View file

@ -39,7 +39,7 @@ export interface OutputSpec {
[key: string]: PropertySpec;
}
export interface EmbeddableFactoryOptions<T> {
export interface EmbeddableFactoryOptions<T extends SavedObjectAttributes> {
savedObjectMetaData?: SavedObjectMetaData<T>;
}