github-pages-deploy-action/node_modules/pretty-format/build/plugins/ReactTestComponent.d.ts

19 lines
685 B
TypeScript
Raw Normal View History

2020-01-28 13:08:03 +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.
*/
2020-03-31 20:40:00 +08:00
import type { NewPlugin } from '../types';
2020-01-28 13:08:03 +08:00
export declare type ReactTestObject = {
$$typeof: symbol;
type: string;
props?: Record<string, any>;
children?: null | Array<ReactTestChild>;
};
declare type ReactTestChild = ReactTestObject | string | number;
2020-03-31 20:40:00 +08:00
export declare const serialize: NewPlugin['serialize'];
export declare const test: NewPlugin['test'];
2020-01-28 13:08:03 +08:00
declare const plugin: NewPlugin;
export default plugin;
//# sourceMappingURL=ReactTestComponent.d.ts.map