mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-10-03 22:37:03 +00:00
Inline files
This commit is contained in:
@@ -1,22 +0,0 @@
|
||||
// Renderers that don't support hydration
|
||||
// can re-export everything from this module.
|
||||
|
||||
function shim(...args: any[]): any {
|
||||
}
|
||||
|
||||
// Hydration (when unsupported)
|
||||
export const supportsHydration = false;
|
||||
export const canHydrateInstance = shim;
|
||||
export const canHydrateTextInstance = shim;
|
||||
export const getNextHydratableSibling = shim;
|
||||
export const getFirstHydratableChild = shim;
|
||||
export const hydrateInstance = shim;
|
||||
export const hydrateTextInstance = shim;
|
||||
export const didNotMatchHydratedContainerTextInstance = shim;
|
||||
export const didNotMatchHydratedTextInstance = shim;
|
||||
export const didNotHydrateContainerInstance = shim;
|
||||
export const didNotHydrateInstance = shim;
|
||||
export const didNotFindHydratableContainerInstance = shim;
|
||||
export const didNotFindHydratableContainerTextInstance = shim;
|
||||
export const didNotFindHydratableInstance = shim;
|
||||
export const didNotFindHydratableTextInstance = shim;
|
||||
@@ -1,13 +0,0 @@
|
||||
// Renderers that don't support persistence
|
||||
// can re-export everything from this module.
|
||||
|
||||
function shim(...args: any[]): any {
|
||||
}
|
||||
|
||||
// Persistence (when unsupported)
|
||||
export const supportsPersistence = false;
|
||||
export const cloneInstance = shim;
|
||||
export const createContainerChildSet = shim;
|
||||
export const appendChildToContainerChildSet = shim;
|
||||
export const finalizeContainerChildren = shim;
|
||||
export const replaceContainerChildren = shim;
|
||||
@@ -27,8 +27,30 @@ export type TimeoutHandle = any;
|
||||
export type NoTimeout = -1;
|
||||
/* eslint-enable no-use-before-define */
|
||||
|
||||
export * from './HostConfigWithNoPersistence';
|
||||
export * from './HostConfigWithNoHydration';
|
||||
function shim(...args: any[]): any {
|
||||
}
|
||||
|
||||
export const supportsPersistence = false;
|
||||
export const cloneInstance = shim;
|
||||
export const createContainerChildSet = shim;
|
||||
export const appendChildToContainerChildSet = shim;
|
||||
export const finalizeContainerChildren = shim;
|
||||
export const replaceContainerChildren = shim;
|
||||
export const supportsHydration = false;
|
||||
export const canHydrateInstance = shim;
|
||||
export const canHydrateTextInstance = shim;
|
||||
export const getNextHydratableSibling = shim;
|
||||
export const getFirstHydratableChild = shim;
|
||||
export const hydrateInstance = shim;
|
||||
export const hydrateTextInstance = shim;
|
||||
export const didNotMatchHydratedContainerTextInstance = shim;
|
||||
export const didNotMatchHydratedTextInstance = shim;
|
||||
export const didNotHydrateContainerInstance = shim;
|
||||
export const didNotHydrateInstance = shim;
|
||||
export const didNotFindHydratableContainerInstance = shim;
|
||||
export const didNotFindHydratableContainerTextInstance = shim;
|
||||
export const didNotFindHydratableInstance = shim;
|
||||
export const didNotFindHydratableTextInstance = shim;
|
||||
|
||||
const NO_CONTEXT = {};
|
||||
const UPDATE_SIGNAL = {};
|
||||
|
||||
Reference in New Issue
Block a user