aboutsummaryrefslogtreecommitdiff
path: root/node_modules/jest-validate/build/utils.d.ts
diff options
context:
space:
mode:
Diffstat (limited to 'node_modules/jest-validate/build/utils.d.ts')
-rw-r--r--node_modules/jest-validate/build/utils.d.ts18
1 files changed, 18 insertions, 0 deletions
diff --git a/node_modules/jest-validate/build/utils.d.ts b/node_modules/jest-validate/build/utils.d.ts
new file mode 100644
index 0000000..e43e65c
--- /dev/null
+++ b/node_modules/jest-validate/build/utils.d.ts
@@ -0,0 +1,18 @@
+/**
+ * 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.
+ */
+export declare const DEPRECATION: string;
+export declare const ERROR: string;
+export declare const WARNING: string;
+export declare const format: (value: unknown) => string;
+export declare const formatPrettyObject: (value: unknown) => string;
+export declare class ValidationError extends Error {
+ name: string;
+ message: string;
+ constructor(name: string, message: string, comment?: string | null);
+}
+export declare const logValidationWarning: (name: string, message: string, comment?: string | null | undefined) => void;
+export declare const createDidYouMeanMessage: (unrecognized: string, allowedOptions: Array<string>) => string;