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
repo doesn't exist, but I can imagine it might be related to versions, since you are on an early beta of v10 and you're pointing to a router which is using the latest version of trpc
We appreciate you taking the time to report this issue.
Unfortunately, we don't have the capacity to assist with issues without a reproduction repository and this issue does not seem to be related to tRPC itself.
For effective assistance, reopening the issue with a reproduction repository would be immensely helpful. Alternatively, you can try to get help on our Discord or in GitHub Discussions.
This issue has been locked because we are very unlikely to see comments on closed issues. If you are running into a similar issue, please create a new issue. Thank you.
Provide environment information
Describe the bug
Typescript can't complete the typing of a query, see discussion #2963
Property 'subscribe' does not exist on type 'DecoratedProcedureRecord<unknown, BuildProcedure<"subscription", { _config: RootConfig<{ ctx: {}; meta: {}; errorShape: never; transformer: CombinedDataTransformer; }>; _ctx_out: {}; _input_in: unique symbol; _input_out: unique symbol; _output_in: u nique symbol; _output_out: unique symbol; _meta: {}; }, Observable<....'.
Link to reproduction
https://github.com/Lilja/trpc-v10-server-needed
To reproduce
Open up
src/index.ts
and modify thetype {AppRouter}
import, point it to the trpc repo OR a another router.Additional information
No response
Post_Originally posted by @Lilja in #2973_
Funding
The text was updated successfully, but these errors were encountered: