Test
This commit is contained in:
8
node_modules/preact/devtools/src/index.d.ts
generated
vendored
Normal file
8
node_modules/preact/devtools/src/index.d.ts
generated
vendored
Normal file
@@ -0,0 +1,8 @@
|
||||
/**
|
||||
* 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;
|
||||
Reference in New Issue
Block a user