/
githubmirror
/
preact
Обзор
Документация
Войти
/
githubmirror
/
preact
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
debug/src/index.d.ts
33 строки
893 B
Ryan Christian
refactor: Revert back to normal TS resolution for core types (#5010)
12 фев 2026, 09:24
Не верифицирован
12 фев 2026, 09:24
5ed7d20
Код
Авторство
О чём код?
import { VNode } from '../../src/index'; /** * Return the component stack that was captured up to this point. */ export function captureOwnerStack(): string; /** * Get the currently rendered `vnode` */ export function getCurrentVNode(): VNode | null; /** * Get human readable name of the component/dom node */ export function getDisplayName(vnode: VNode): string; /** * 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;