aboutsummaryrefslogtreecommitdiff
path: root/node_modules/jest-validate/build/errors.d.ts
diff options
context:
space:
mode:
Diffstat (limited to 'node_modules/jest-validate/build/errors.d.ts')
-rw-r--r--node_modules/jest-validate/build/errors.d.ts8
1 files changed, 8 insertions, 0 deletions
diff --git a/node_modules/jest-validate/build/errors.d.ts b/node_modules/jest-validate/build/errors.d.ts
new file mode 100644
index 0000000..564667b
--- /dev/null
+++ b/node_modules/jest-validate/build/errors.d.ts
@@ -0,0 +1,8 @@
+/**
+ * Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved.
+ *
+ * This source code is licensed under the MIT license found in the
+ * LICENSE file in the root directory of this source tree.
+ */
+import type { ValidationOptions } from './types';
+export declare const errorMessage: (option: string, received: unknown, defaultValue: unknown, options: ValidationOptions, path?: string[] | undefined) => void;