mirror of
https://github.com/zadam/trilium.git
synced 2025-12-15 03:44:23 +01:00
7 lines
191 B
TypeScript
7 lines
191 B
TypeScript
export default class ValidationError {
|
|
constructor(resp: Record<string, string | number>) {
|
|
for (const key in resp) {
|
|
(this as any)[key] = resp[key];
|
|
}
|
|
}
|
|
} |