In some cases this will work:
/** * @ts-expect-error */
Of course if you do not want to change the config file.