Skip to content

Build your personal knowledge base with Trilium Notes

192 B
Raw Blame
export default class ValidationError {
    constructor(resp: Record<string, string | number>) {
        for (const key in resp) {
            (this as any)[key] = resp[key];
        }
    }
}