diff --git a/x-pack/legacy/plugins/integrations_manager/server/lib/template/template.ts b/x-pack/legacy/plugins/integrations_manager/server/lib/template/template.ts index 2b94ded9d939f..dc1d3962d17b6 100644 --- a/x-pack/legacy/plugins/integrations_manager/server/lib/template/template.ts +++ b/x-pack/legacy/plugins/integrations_manager/server/lib/template/template.ts @@ -9,7 +9,7 @@ * * @param indexPattern String with the index pattern */ -export function getTemplate(indexPattern: string): object { +export function getTemplate(indexPattern: string): Template { const template = getBaseTemplate(); template.index_patterns = [indexPattern]; return template;