Methods in the following component is not recognised. It works if I remove the useCallback. ```jsx import React, { forwardRef, memo, useCallback, useImperativeHandle, useMemo, useRef, } from 'react'; export const MyComponent = memo(forwardRef((_, ref) => { const _myMethod = useCallback((argument:string) : number => {}); //const _myMethod = (argument:string) : number => {}; useImperativeHandle( ref, () => ({ /** myMethod description */ _myMethod, }), [], ); return <div />; })); ``` return ```json [ { "description": "", "displayName": "MyComponent", "methods": [] } ] ```
Activity
[-]useCallback + useImperativeHandle in methods[/-][+]useCallback + useImperativeHandle methods[/+]