Pick AppEx SharedUX from #166813 (#167356)

## Summary

We're breaking https://github.com/elastic/kibana/pull/166813 up into
smaller PRs in the interest of getting PRs through sooner for type
fixes. These are the changes for AppEx SharedUX.
This commit is contained in:
Brad White 2023-09-27 02:14:43 -06:00 committed by GitHub
parent 784411d45d
commit e522f0a178
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 3 deletions

View file

@ -82,7 +82,7 @@ export class MarkdownStorybookMock extends AbstractStorybookMock<
};
}
getServices() {
getServices(): MarkdownProps {
return { ...this.getProps() };
}
}

View file

@ -86,7 +86,6 @@ export class ReportingStore {
private readonly indexPrefix: string; // config setting of index prefix in system index name
private readonly indexInterval: string; // config setting of index prefix: how often to poll for pending work
private client?: ElasticsearchClient;
private ilmPolicyManager?: IlmPolicyManager;
config: ReportingCore['config'];
constructor(private reportingCore: ReportingCore, private logger: Logger) {
@ -107,7 +106,7 @@ export class ReportingStore {
private async getIlmPolicyManager() {
const client = await this.getClient();
return (this.ilmPolicyManager = IlmPolicyManager.create({ client }));
return IlmPolicyManager.create({ client });
}
private async createIndex(indexName: string) {