@forge/react
11.17.0-experimental-04cc2b911.18.0-next.0
out/reconciler.d.ts~
out/reconciler.d.tsModified+17−17
Index: package/out/reconciler.d.ts
===================================================================
--- package/out/reconciler.d.ts
+++ package/out/reconciler.d.ts
@@ -1,20 +1,20 @@
import { ReactElement } from 'react';
import { HostConfig } from 'react-reconciler';
-type ElementType = string;
-type ElementProps = InstanceProps;
+declare type ElementType = string;
+declare type ElementProps = InstanceProps;
export interface ForgeDoc {
type: ElementType;
props: ElementProps;
children: ForgeDoc[];
key: string;
forgeReactMajorVersion?: number;
}
-export type CallBridge = (cmd: string, data: {
+export declare type CallBridge = (cmd: string, data: {
forgeDoc: ForgeDoc;
}) => void;
export declare const callBridge: CallBridge;
-type CreateElement = (args: {
+declare type CreateElement = (args: {
type: ElementType;
props: InstanceProps;
forgeReactMajorVersion?: number;
}) => ForgeDoc;
@@ -34,21 +34,21 @@
* @param oldProps The old props the component previously had
* @returns True if the props are equal and false otherwise
*/
export declare const nonChildPropsAreEqual: (oldProps: InstanceProps, newProps: InstanceProps) => boolean;
-type HostConfigType = string;
-type InstanceProps = Record<string, any>;
-type Container = ForgeDoc;
-type Instance = ForgeDoc;
-type TextInstance = ForgeDoc;
-type SuspenseInstance = ForgeDoc;
-type HydratableInstance = ForgeDoc;
-type PublicInstance = ForgeDoc;
-type HostContext = any;
-type UpdatePayload = any;
-type ChildSet = any;
-type TimeoutHandle = ReturnType<typeof setTimeout>;
-type NoTimeout = -1;
+declare type HostConfigType = string;
+declare type InstanceProps = Record<string, any>;
+declare type Container = ForgeDoc;
+declare type Instance = ForgeDoc;
+declare type TextInstance = ForgeDoc;
+declare type SuspenseInstance = ForgeDoc;
+declare type HydratableInstance = ForgeDoc;
+declare type PublicInstance = ForgeDoc;
+declare type HostContext = any;
+declare type UpdatePayload = any;
+declare type ChildSet = any;
+declare type TimeoutHandle = ReturnType<typeof setTimeout>;
+declare type NoTimeout = -1;
export declare const hostConfig: HostConfig<HostConfigType, InstanceProps, Container, Instance, TextInstance, SuspenseInstance, HydratableInstance, PublicInstance, HostContext, UpdatePayload, ChildSet, TimeoutHandle, NoTimeout>;
export declare const ForgeReconciler: {
render: (element: ReactElement) => void;
addConfig: (element: ReactElement) => void;