From 5cfaf52ddcd4cbcfc90f3dd1019f3fb254566535 Mon Sep 17 00:00:00 2001 From: Jacob Mischka Date: Fri, 15 Jul 2022 15:29:04 -0500 Subject: [PATCH] Pass validator to ExclusiveIOPromise Shouldn't matter, this isn't supposed to be a public API, but it's technically more correct. --- src/classes/IOPromise.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/classes/IOPromise.ts b/src/classes/IOPromise.ts index 69b6bb9..fc379d5 100644 --- a/src/classes/IOPromise.ts +++ b/src/classes/IOPromise.ts @@ -176,6 +176,7 @@ export class InputIOPromise< props: this.props, valueGetter: this.valueGetter, onStateChange: this.onStateChange, + validator: this.validator, }) } }