3
0
Fork 0
mirror of https://github.com/ZeppelinBot/Zeppelin.git synced 2025-03-15 05:41:51 +00:00

Mark StrictValidationError errors property as readonly

This commit is contained in:
Dragory 2019-11-27 22:03:10 +02:00
parent f3af836020
commit cbcd2bd67d

View file

@ -57,7 +57,7 @@ function getContextPath(context) {
// tslint:enable
export class StrictValidationError extends Error {
private errors;
private readonly errors;
constructor(errors: string[]) {
errors = Array.from(new Set(errors));