mirror of
https://kevinblog.sytes.net/Code/Jibo-Revival-Group/JiboViteDocs.git
synced 2026-06-16 03:36:22 +00:00
Initalize
This commit is contained in:
23
node_modules/preact/debug/src/index.d.ts
generated
vendored
Normal file
23
node_modules/preact/debug/src/index.d.ts
generated
vendored
Normal file
@@ -0,0 +1,23 @@
|
||||
import { VNode } from 'preact';
|
||||
|
||||
/**
|
||||
* Get the currently rendered `vnode`
|
||||
*/
|
||||
export function getCurrentVNode(): VNode | null;
|
||||
|
||||
/**
|
||||
* Return the component stack that was captured up to this point.
|
||||
*/
|
||||
export function getOwnerStack(vnode: VNode): string;
|
||||
|
||||
/**
|
||||
* Setup code to capture the component trace while rendering. Note that
|
||||
* we cannot simply traverse `vnode._parent` upwards, because we have some
|
||||
* debug messages for `this.setState` where the `vnode` is `undefined`.
|
||||
*/
|
||||
export function setupComponentStack(): void;
|
||||
|
||||
/**
|
||||
* Reset the history of which prop type warnings have been logged.
|
||||
*/
|
||||
export function resetPropWarnings(): void;
|
||||
Reference in New Issue
Block a user