Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ export const configureAppAngularModule = (
isLocalAngular: boolean,
getHistory?: () => History
) => {
const core = 'core' in newPlatform ? newPlatform.core : newPlatform;
const core = ('core' in newPlatform ? newPlatform.core : newPlatform) as CoreStart;
const packageInfo = newPlatform.env.packageInfo;

angularModule
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -346,6 +346,7 @@ interface FieldlessOperationDefinition<C extends BaseIndexPatternColumn> {
arg: BaseBuildColumnArgs & {
previousColumn?: IndexPatternColumn;
},
// @ts-ignore, TS not able to dig into this depth, https://github.com/elastic/kibana/issues/110761
columnParams?: (IndexPatternColumn & C)['params']
) => C;
/**
Expand Down Expand Up @@ -387,6 +388,7 @@ interface FieldBasedOperationDefinition<C extends BaseIndexPatternColumn> {
field: IndexPatternField;
previousColumn?: IndexPatternColumn;
},
// @ts-ignore, TS not able to dig into this depth, https://github.com/elastic/kibana/issues/110761
columnParams?: (IndexPatternColumn & C)['params'] & {
kql?: string;
lucene?: string;
Expand Down