How can I silence this LSP typescript error?

When enabling inlay hints, if the typescript version is lower than 4.4 I get


There is some way to silence this error? Thanks.