frontend/.pnpm-store/v3/files/16/2234ecaf5a66a03f415faf5480b52c44650101cfca48a20d529918ac92aaa73a4fcfae8b324644835c0561f46b956ac6f8306c2863f0d9c2acfc944faeaf9e

9 lines
233 B
Plaintext

/**
* Customize the displayed name of a useState, useReducer or useRef hook
* in the devtools panel.
*
* @param value Wrapped native hook.
* @param name Custom name
*/
export function addHookName<T>(value: T, name: string): T;