UNPKG

269 BTypeScriptView Raw
1import * as preact from 'preact';
2export * from 'preact';
3export { createPortal } from 'preact/compat';
4
5declare function flushSync(runBeforeFlush: any): void;
6declare function createContext<T>(defaultValue: T): preact.Context<T>;
7
8export { createContext, flushSync };