mirror of
https://github.com/owncast/owncast.git
synced 2024-10-10 19:16:02 +00:00
Commit updated Javascript packages
This commit is contained in:
46
build/javascript/node_modules/preact/compat/src/internal.d.ts
generated
vendored
Normal file
46
build/javascript/node_modules/preact/compat/src/internal.d.ts
generated
vendored
Normal file
@@ -0,0 +1,46 @@
|
||||
import {
|
||||
Component as PreactComponent,
|
||||
VNode as PreactVNode,
|
||||
FunctionalComponent as PreactFunctionalComponent
|
||||
} from '../../src/internal';
|
||||
import { SuspenseProps } from './suspense';
|
||||
|
||||
export { ComponentChildren } from '../..';
|
||||
|
||||
export { PreactElement } from '../../src/internal';
|
||||
|
||||
export interface Component<P = {}, S = {}> extends PreactComponent<P, S> {
|
||||
isReactComponent?: object;
|
||||
isPureReactComponent?: true;
|
||||
_patchedLifecycles?: true;
|
||||
|
||||
_childDidSuspend?(
|
||||
error: Promise<void>,
|
||||
suspendingComponent: Component<any, any>,
|
||||
oldVNode?: VNode
|
||||
): void;
|
||||
_suspendedComponentWillUnmount?(): void;
|
||||
}
|
||||
|
||||
export interface FunctionalComponent<P = {}>
|
||||
extends PreactFunctionalComponent<P> {
|
||||
shouldComponentUpdate?(nextProps: Readonly<P>): boolean;
|
||||
_forwarded?: boolean;
|
||||
_patchedLifecycles?: true;
|
||||
}
|
||||
|
||||
export interface VNode<T = any> extends PreactVNode<T> {
|
||||
$$typeof?: symbol | string;
|
||||
preactCompatNormalized?: boolean;
|
||||
}
|
||||
|
||||
export interface SuspenseState {
|
||||
_suspended?: null | VNode<any>;
|
||||
}
|
||||
|
||||
export interface SuspenseComponent
|
||||
extends PreactComponent<SuspenseProps, SuspenseState> {
|
||||
_pendingSuspensionCount: number;
|
||||
_suspenders: Component[];
|
||||
_detachOnNextRender: null | VNode<any>;
|
||||
}
|
||||
Reference in New Issue
Block a user