1
0
Fork 0
mirror of https://github.com/actions/setup-python.git synced 2024-09-20 00:56:43 +00:00
setup-python/node_modules/jest-validate/build/utils.d.ts
Danny McCormick 39c08a0eaa Initial pass
2019-06-26 21:12:00 -04:00

19 lines
873 B
TypeScript

/**
* 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: any) => string;
export declare const formatPrettyObject: (value: any) => 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: string[]) => string;
//# sourceMappingURL=utils.d.ts.map