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
{{ message }}
Repository navigation
Generic parameters, e.g. in typeof foo<T1, T2> not recognized for typeof types #957
// 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>
Activity
adamschoenemann commentedon Feb 8, 2023
I'm seeing the same issue.
Prefer type arguments next to typeof operator
adamschoenemann commentedon Feb 9, 2023
Nice! A stupid question: how can I update vscode to use the fixed tmLanguage definition?
ryanrhee commentedon Feb 9, 2023
same question here.
sheetalkamat commentedon Feb 9, 2023
https://marketplace.visualstudio.com/items?itemName=ms-vscode.vscode-typescript-next should pick it up