mirror of
https://iceshrimp.dev/limepotato/jormungandr-bite.git
synced 2025-03-04 07:18:50 -07:00
いい感じに
This commit is contained in:
parent
8ed36364d2
commit
990a19fa3a
1 changed files with 1 additions and 1 deletions
|
@ -31,7 +31,7 @@ class ValidatorCore implements Validator {
|
|||
return [this.value, this.error];
|
||||
}
|
||||
|
||||
validate(validator: any) {
|
||||
validate(validator: CustomValidator<any>) {
|
||||
if (this.error || this.value === null) return this;
|
||||
const result = validator(this.value);
|
||||
if (result === false) {
|
||||
|
|
Loading…
Add table
Reference in a new issue