diff --git a/packages/kbn-esql-ast/src/ast_helpers.ts b/packages/kbn-esql-ast/src/ast_helpers.ts index 8ea9313ac9dec..0b3c3eff25ada 100644 --- a/packages/kbn-esql-ast/src/ast_helpers.ts +++ b/packages/kbn-esql-ast/src/ast_helpers.ts @@ -114,7 +114,7 @@ export function createLiteral( } const text = node.getText(); - const partialLiteral: Pick = { + const partialLiteral: Omit = { type: 'literal', text, name: text,