mirror of
https://github.com/elastic/kibana.git
synced 2025-04-23 17:28:26 -04:00
fix prettier errors
This commit is contained in:
parent
298de0663d
commit
1fb0982e00
3 changed files with 7 additions and 7 deletions
|
@ -173,8 +173,8 @@ export class EmbeddablePublicPlugin implements Plugin<EmbeddableSetup, Embeddabl
|
|||
);
|
||||
|
||||
const commonContract: CommonEmbeddableStartContract = {
|
||||
getEmbeddableFactory: (this
|
||||
.getEmbeddableFactory as unknown) as CommonEmbeddableStartContract['getEmbeddableFactory'],
|
||||
getEmbeddableFactory: this
|
||||
.getEmbeddableFactory as unknown as CommonEmbeddableStartContract['getEmbeddableFactory'],
|
||||
getEnhancement: this.getEnhancement,
|
||||
};
|
||||
|
||||
|
|
|
@ -39,7 +39,7 @@ beforeEach(async () => {
|
|||
|
||||
const contactCardFactory = new ContactCardEmbeddableFactory(
|
||||
uiActions.executeTriggerActions,
|
||||
({} as unknown) as OverlayStart
|
||||
{} as unknown as OverlayStart
|
||||
);
|
||||
setup.registerEmbeddableFactory(contactCardFactory.type, contactCardFactory);
|
||||
|
||||
|
|
|
@ -45,8 +45,8 @@ export class EmbeddableServerPlugin implements Plugin<EmbeddableSetup, Embeddabl
|
|||
|
||||
public setup(core: CoreSetup) {
|
||||
const commonContract: CommonEmbeddableStartContract = {
|
||||
getEmbeddableFactory: (this
|
||||
.getEmbeddableFactory as unknown) as CommonEmbeddableStartContract['getEmbeddableFactory'],
|
||||
getEmbeddableFactory: this
|
||||
.getEmbeddableFactory as unknown as CommonEmbeddableStartContract['getEmbeddableFactory'],
|
||||
getEnhancement: this.getEnhancement,
|
||||
};
|
||||
|
||||
|
@ -68,8 +68,8 @@ export class EmbeddableServerPlugin implements Plugin<EmbeddableSetup, Embeddabl
|
|||
|
||||
public start(core: CoreStart) {
|
||||
const commonContract: CommonEmbeddableStartContract = {
|
||||
getEmbeddableFactory: (this
|
||||
.getEmbeddableFactory as unknown) as CommonEmbeddableStartContract['getEmbeddableFactory'],
|
||||
getEmbeddableFactory: this
|
||||
.getEmbeddableFactory as unknown as CommonEmbeddableStartContract['getEmbeddableFactory'],
|
||||
getEnhancement: this.getEnhancement,
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue