O VSCode aparece erro "Type 'AnchorHTMLAttributes' is not assignable to type 'ReactNode'.
  Type 'AnchorHTMLAttributes' is missing the following properties from type 'ReactPortal': props, keyts(2322)
index.d.ts(2206, 9): The expected type comes from property 'children' which is declared here on type 'DetailedHTMLProps<AnchorHTMLAttributes, HTMLAnchorElement>'"
Segue index.tsx
import React from 'react'
import styles from "./link.module.css"
const Link = ({children, ...rest}: {children: React.AnchorHTMLAttributes<HTMLAnchorElement>}) => {
  return <a className={styles.link} {...rest}>{children}</a>
};
export default Link
Por alguma razão ele aponta erro na propriedade children da linha 5. Ainda não vejo afetar o resultado do projeto, mas acredito que mais cedo ou mais tarde isso vai ser algum problema.
 
            