eslint 8.57 WIP:
* tweaking rules * fixing issues
This commit is contained in:
@ -12,7 +12,7 @@ export enum ValidationErrorType {
|
||||
}
|
||||
|
||||
export class ValidationError extends Error {
|
||||
properties: {[key: string]: ValidationErrorType[] } = {}
|
||||
properties: Record<string, ValidationErrorType[]> = {}
|
||||
|
||||
constructor (name: string, message: string | undefined, properties: ValidationError['properties']) {
|
||||
super(message)
|
||||
|
Reference in New Issue
Block a user