mirror of
https://github.com/joelwmale/webhook-action.git
synced 2024-12-05 05:34:29 +01:00
1ada95e04a
- Convert project to Javascript/Typescript - Allow custom headers to be passed in (optional) - Allow body to be optional
18 lines
654 B
TypeScript
18 lines
654 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.
|
|
*/
|
|
import { NewPlugin } from '../types';
|
|
export declare type ReactTestObject = {
|
|
$$typeof: symbol;
|
|
type: string;
|
|
props?: Record<string, unknown>;
|
|
children?: null | Array<ReactTestChild>;
|
|
};
|
|
declare type ReactTestChild = ReactTestObject | string | number;
|
|
export declare const serialize: NewPlugin['serialize'];
|
|
export declare const test: NewPlugin['test'];
|
|
declare const plugin: NewPlugin;
|
|
export default plugin;
|