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