Skip to content

Commit a98bd49

Browse files
committed
Specify exact type for warning type
1 parent a49db27 commit a98bd49

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/form-state-manager/src/types/compose-validators.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import { Validator } from './validate';
22
import AnyObject from './any-object';
33

44
export interface WarningObject<T = string | undefined> {
5-
type: string;
5+
type: 'warning';
66
error: T;
77
}
88

0 commit comments

Comments
 (0)