/
githubmirror
/
preact
Обзор
Документация
Войти
/
githubmirror
/
preact
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
10.26.4
src/options.js
16 строк
587 B
Ryan Christian
refactor: Remove `declare global` from internal types (#4583)
30 ноя 2024, 03:11
Не верифицирован
30 ноя 2024, 03:11
42e7b45
Код
Авторство
О чём код?
import { _catchError } from './diff/catch-error'; /** * The `option` object can potentially contain callback functions * that are called during various stages of our renderer. This is the * foundation on which all our addons like `preact/debug`, `preact/compat`, * and `preact/hooks` are based on. See the `Options` type in `internal.d.ts` * for a full list of available option hooks (most editors/IDEs allow you to * ctrl+click or cmd+click on mac the type definition below). * @type {import('./internal').Options} */ const options = { _catchError }; export default options;