web: remove duplicate `as` props in Wildcard
Created by: umpox
ForwardReferenceComponent
already defines as
. We duplicate it in some cases which can lead to type errors like:
The expected type comes from property 'as' which is declared here on type 'IntrinsicAttributes & Omit<Pick<DetailedHTMLProps<HTMLAttributes, HTMLDivElement>, "key" | keyof HTMLAttributes> & { ref?: ((instance: HTMLDivElement | null) => void) | RefObject | null | undefined; }, "as"> & CardProps & { as?: "div" | undefined; }'