Skip to content

Commit 12b726c

Browse files
authored
chore(mongodb-constants): fix constants type (#166)
1 parent c40d82c commit 12b726c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

packages/mongodb-constants/src/filter.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ export type FilterOptions = {
6969
/**
7070
* Filter completions by completion category
7171
*/
72-
meta?: (Meta | 'field:*' | 'accumulator:*' | 'expr:*')[];
72+
meta?: (Meta | 'field:*' | 'accumulator:*' | 'expr:*' | 'variable:*')[];
7373
/**
7474
* Stage-only filters
7575
*/

packages/mongodb-constants/src/system-variables.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,6 @@ const SYSTEM_VARIABLES = [
9090
description:
9191
'A variable that stores the role names of the authenticated user running the command.',
9292
},
93-
];
93+
] as const;
9494

9595
export { SYSTEM_VARIABLES };

0 commit comments

Comments
 (0)