Skip to content

Commit 4bb4ae5

Browse files
committed
return read-only parsing errors array
1 parent bc9d927 commit 4bb4ae5

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
@@ -319,7 +319,7 @@ export class Parser {
319319
return this._scanner.errorTokens;
320320
}
321321

322-
get parsingErrors(): string[] {
322+
get parsingErrors(): Readonly<string[]> {
323323
return this._parsingErrors;
324324
}
325325

0 commit comments

Comments
 (0)