Skip to content

Commit

Permalink
pick => omit
Browse files Browse the repository at this point in the history
  • Loading branch information
drewdaemon committed Apr 9, 2024
1 parent acff5e7 commit 7de22de
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/kbn-esql-ast/src/ast_helpers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ export function createLiteral(
}
const text = node.getText();

const partialLiteral: Pick<ESQLLiteral, 'incomplete' | 'location' | 'name' | 'text' | 'type'> = {
const partialLiteral: Omit<ESQLLiteral, 'literalType' | 'value'> = {
type: 'literal',
text,
name: text,
Expand Down

0 comments on commit 7de22de

Please sign in to comment.