Lsp diagnostics not working when filetype typescriptreact

any ideas why LSP declaration/definition doesn’t work when my filetype is typescriptreact?.
I manually change it to typescript and seems to work, but I don’t want to lose syntax highlighting