@saber2pr/react
Version:
react in Typescript.
9 lines (8 loc) • 480 B
TypeScript
import { Fiber } from "../shared/ReactTypes";
declare function createStateNode(hostFiber: Fiber): any;
declare function commitWork(fiber: Fiber): void;
declare function commitCreate(hostFiber: Fiber): void;
declare function commitPlace(finishedWork: Fiber): void;
declare function commitUpdate(hostFiber: Fiber): void;
declare function commitDelete(finishedWork: Fiber): void;
export { commitWork, commitCreate, commitUpdate, commitPlace, commitDelete, createStateNode };