UNPKG
@architwankhade/math
Version:
latest (1.0.3)
1.0.3
1.0.2
1.0.1
1.0.0
Excalidraw math functions
github.com/excalidraw/excalidraw
excalidraw/excalidraw
@architwankhade/math
/
dist
/
types
/
excalidraw
/
hooks
/
useStableCallback.d.ts
5 lines
(4 loc)
•
148 B
TypeScript
View Raw
1
2
3
4
5
/** * Returns a stable function of the same type. */
export
declare
const
useStableCallback
: <T
extends
(...
args
:
any
[]) =>
any
>
(
userFn
: T
) =>
T;