mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-12-03 11:41:44 +00:00
make createError params optional entirely
This commit is contained in:
Vendored
+1
-1
@@ -227,7 +227,7 @@ export interface TestContext {
|
||||
parent: any;
|
||||
schema: Schema<any>;
|
||||
resolve: (value: any) => any;
|
||||
createError: (params: { path?: string; message?: string }) => ValidationError;
|
||||
createError: (params?: { path?: string; message?: string }) => ValidationError;
|
||||
}
|
||||
|
||||
export interface ValidateOptions {
|
||||
|
||||
Reference in New Issue
Block a user