1
0
mirror of https://github.com/actions/setup-python synced 2024-11-30 21:22:28 +08:00
setup-python/node_modules/jest-validate/build/index.d.ts

25 lines
1008 B
TypeScript
Raw Normal View History

2019-06-27 09:12:00 +08:00
/**
* 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 { ValidationError } from './utils';
import validateCLIOptions from './validateCLIOptions';
import { multipleValidOptions } from './condition';
declare const _default: {
ValidationError: typeof ValidationError;
createDidYouMeanMessage: (unrecognized: string, allowedOptions: string[]) => string;
format: (value: any) => string;
logValidationWarning: (name: string, message: string, comment?: string | null | undefined) => void;
multipleValidOptions: typeof multipleValidOptions;
validate: (config: {
[key: string]: any;
}, options: import("./types").ValidationOptions) => {
hasDeprecationWarnings: boolean;
isValid: boolean;
};
validateCLIOptions: typeof validateCLIOptions;
};
export = _default;
//# sourceMappingURL=index.d.ts.map