You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
but in sources static function just create an object and call validate method, so it should also be declared to return true only: static validate(xmlData: string, options?: validationOptions): true;
In lib:
type ValidationError = {
err: {
code: string;
msg: string,
line: number,
col: number
};
};
in src ( fast-xml-validator/src/ValidationError.js ):
Activity
amitguptagwl commentedon Jul 30, 2026
done
djkfx commentedon Jul 31, 2026
Ok, you fixed point 1, but ValidationError in _ fast-xml-validator/lib/fxv.d.cts_ still do not match the one in src/ValidationError.js