useMemoizedFn 的 ts 能优化下吗? #2326
-
传一个不存在的 a, 都不会校验的 |
Beta Was this translation helpful? Give feedback.
Answered by
liuyib
Sep 20, 2023
Replies: 1 comment 1 reply
-
这里 any,你把你截图这个函数类型完善下就好了 |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
liuyib
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
这里 any,你把你截图这个函数类型完善下就好了