Skip to content

Commit

Permalink
Fix after review
Browse files Browse the repository at this point in the history
  • Loading branch information
nchaulet committed Aug 2, 2022
1 parent 811e843 commit d988ac5
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ export function getTemplate({
* @param fields
*/
export function generateMappings(fields: Field[]): IndexTemplateMappings {
const dynamicTemplates: Array<{ [k: string]: Properties }> = [];
const dynamicTemplates: Array<Record<string, Properties>> = [];
const dynamicTemplateNames = new Set<string>();

const { properties } = _generateMappings(fields, {
Expand Down

0 comments on commit d988ac5

Please sign in to comment.