correct weight order

This commit is contained in:
Niels Lyngsø
2024-08-09 20:53:46 +02:00
parent 5676e75221
commit 8492eba85a

View File

@@ -27,15 +27,15 @@ type FlagTypes =
const WeightedErrorFlagTypes = [
'customError',
'valueMissing',
'badInput',
'typeMismatch',
'patternMismatch',
'rangeOverflow',
'rangeUnderflow',
'stepMismatch',
'tooLong',
'tooShort',
'typeMismatch',
'valueMissing',
];
// Acceptable as an internal interface/type, BUT if exposed externally this should be turned into a public interface in a separate file.