Skip to content

Commit f9f6067

Browse files
committed
context keys: parser: fix new parser's return type
1 parent 08c67e4 commit f9f6067

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/vs/platform/contextkey/common/contextkey.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ export abstract class ContextKeyExpr {
129129
/**
130130
* Warning: experimental; the API might change.
131131
*/
132-
public static deserializeOrErrorNew(serialized: string | null | undefined): { type: 'ok'; expr: ContextKeyExpr } | { type: 'error'; readonly lexingErrors: string[]; readonly parsingErrors: readonly string[] } {
132+
public static deserializeOrErrorNew(serialized: string | null | undefined): { type: 'ok'; expr: ContextKeyExpression } | { type: 'error'; readonly lexingErrors: string[]; readonly parsingErrors: readonly string[] } {
133133
if (!serialized) {
134134
return { type: 'error', lexingErrors: [], parsingErrors: [] };
135135
}

0 commit comments

Comments
 (0)