
discord-questions.trpc.io/m/1353495044648206477
Preview meta tags from the discord-questions.trpc.io website.
Linked Hostnames
4- 3 links todiscord-questions.trpc.io
- 1 link todiscord.com
- 1 link todiscord.gg
- 1 link towww.answeroverflow.com
Thumbnail
Search Engine Appearance
v11 types ProcedureBuilder & MiddlewareBuilder - tRPC
You used to be able to import these types directly from `@trpc/server`. With v11 you can only import them via `unstable-core-do-not-import`. I have some properties on a class that should hold a `t.middleware` and a `t.procedure`. What's the recommended way to type my `Middleware` and `Procedure` in v11? ```ts type Middleware = ? type Procedure = ? const t = initTRPC.create() class MyClass { private middleware: Middleware = t.middleware(({ next }) => next()) private proc: Procedure = t.procedure public procedure(procedure: Procedure) { this.proc = procedure return this } public use(middleware: Middleware) { this.middleware = middleware return this } ```
Bing
v11 types ProcedureBuilder & MiddlewareBuilder - tRPC
You used to be able to import these types directly from `@trpc/server`. With v11 you can only import them via `unstable-core-do-not-import`. I have some properties on a class that should hold a `t.middleware` and a `t.procedure`. What's the recommended way to type my `Middleware` and `Procedure` in v11? ```ts type Middleware = ? type Procedure = ? const t = initTRPC.create() class MyClass { private middleware: Middleware = t.middleware(({ next }) => next()) private proc: Procedure = t.procedure public procedure(procedure: Procedure) { this.proc = procedure return this } public use(middleware: Middleware) { this.middleware = middleware return this } ```
DuckDuckGo

v11 types ProcedureBuilder & MiddlewareBuilder - tRPC
You used to be able to import these types directly from `@trpc/server`. With v11 you can only import them via `unstable-core-do-not-import`. I have some properties on a class that should hold a `t.middleware` and a `t.procedure`. What's the recommended way to type my `Middleware` and `Procedure` in v11? ```ts type Middleware = ? type Procedure = ? const t = initTRPC.create() class MyClass { private middleware: Middleware = t.middleware(({ next }) => next()) private proc: Procedure = t.procedure public procedure(procedure: Procedure) { this.proc = procedure return this } public use(middleware: Middleware) { this.middleware = middleware return this } ```
General Meta Tags
6- titlev11 types ProcedureBuilder & MiddlewareBuilder - tRPC
- charsetutf-8
- viewportwidth=device-width, initial-scale=1
- next-size-adjust
- descriptionYou used to be able to import these types directly from `@trpc/server`. With v11 you can only import them via `unstable-core-do-not-import`. I have some properties on a class that should hold a `t.middleware` and a `t.procedure`. What's the recommended way to type my `Middleware` and `Procedure` in v11? ```ts type Middleware = ? type Procedure = ? const t = initTRPC.create() class MyClass { private middleware: Middleware = t.middleware(({ next }) => next()) private proc: Procedure = t.procedure public procedure(procedure: Procedure) { this.proc = procedure return this } public use(middleware: Middleware) { this.middleware = middleware return this } ```
Open Graph Meta Tags
3- og:titlev11 types ProcedureBuilder & MiddlewareBuilder - tRPC
- og:descriptionYou used to be able to import these types directly from `@trpc/server`. With v11 you can only import them via `unstable-core-do-not-import`. I have some properties on a class that should hold a `t.middleware` and a `t.procedure`. What's the recommended way to type my `Middleware` and `Procedure` in v11? ```ts type Middleware = ? type Procedure = ? const t = initTRPC.create() class MyClass { private middleware: Middleware = t.middleware(({ next }) => next()) private proc: Procedure = t.procedure public procedure(procedure: Procedure) { this.proc = procedure return this } public use(middleware: Middleware) { this.middleware = middleware return this } ```
- og:imagehttps://discord-questions.trpc.io/og/post?id=1353495044648206477
Twitter Meta Tags
4- twitter:cardsummary_large_image
- twitter:titlev11 types ProcedureBuilder & MiddlewareBuilder - tRPC
- twitter:descriptionYou used to be able to import these types directly from `@trpc/server`. With v11 you can only import them via `unstable-core-do-not-import`. I have some properties on a class that should hold a `t.middleware` and a `t.procedure`. What's the recommended way to type my `Middleware` and `Procedure` in v11? ```ts type Middleware = ? type Procedure = ? const t = initTRPC.create() class MyClass { private middleware: Middleware = t.middleware(({ next }) => next()) private proc: Procedure = t.procedure public procedure(procedure: Procedure) { this.proc = procedure return this } public use(middleware: Middleware) { this.middleware = middleware return this } ```
- twitter:imagehttps://discord-questions.trpc.io/og/post?id=1353495044648206477
Link Tags
8- canonicalhttps://discord-questions.trpc.io/m/1353495044648206477
- iconhttps://cdn.answeroverflow.com/867764511159091230/6af104c7f0f39a12fcd55bd7bd28928f/icon.png
- preloadhttps://www.answeroverflow.com/_next/static/media/4f05ba3a6752a328-s.p.woff2
- preloadhttps://www.answeroverflow.com/_next/static/media/9cf9c6e84ed13b5e-s.p.woff2
- preload/discord/2.png
Links
6- https://discord-questions.trpc.io
- https://discord-questions.trpc.io/search
- https://discord-questions.trpc.io/u/269563551012749313
- https://discord.com/channels/867764511159091230/1353495044648206477/1353495044648206477
- https://discord.gg/bvFvwRGW74