See video, drawer index.tsx has some type errors related to ref, seems to be present everytime ref is used. I triedd copying the JSX from
https://gluestack.io/ui/docs/components/drawer
directly to see if my local version was perhaps out of date or something, same error.
Type 'ForwardedRef<typeof View | (ViewProps & WithStyleContextProps & RefAttributes<typeof View>)>' is not assignable to type '((string | ((instance: typeof View | null) => void | (() => VoidOrUndefinedOnly)) | RefObject<typeof View>) & (string | ((instance: (ViewProps & WithStyleContextProps & RefAttributes<...>) | null) => void | (() => VoidOrUndefinedOnly)) | RefObject<...>)) | null | undefined'.
Type 'MutableRefObject<typeof View | (ViewProps & WithStyleContextProps & RefAttributes<typeof View>) | null>' is not assignable to type '((string | ((instance: typeof View | null) => void | (() => VoidOrUndefinedOnly)) | RefObject<typeof View>) & (string | ((instance: (ViewProps & WithStyleContextProps & RefAttributes<...>) | null) => void | (() => VoidOrUndefinedOnly)) | RefObject<...>)) | null | undefined'.
Type 'MutableRefObject<typeof View | (ViewProps & WithStyleContextProps & RefAttributes<typeof View>) | null>' is not assignable to type 'RefObject<typeof View> & RefObject<ViewProps & WithStyleContextProps & RefAttributes<typeof View>>'.
etc