You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// Please include a code snippet that demonstrates the issue// this is similar to apollo-client's `useQuery` but simplified for the reprofunctionuseQuery<TData,TVariables>(_vars: TVariables,_data: TData){console.log('hello world')}exporttypeUseQuery<TData,TVariables>=typeofuseQuery<TData,TVariables>
TS and JS Grammar Extension version: 0.0.55 / latest
Code
Note the last
>
- it's red.This syntax is valid. I believe it's valid as of TS 4.7, from microsoft/TypeScript#47607 .
I've also confirmed that the bug still happens for cases where there's only 1 generic parameter.
The text was updated successfully, but these errors were encountered: