# tRPC v11 + zod with tsc 7.0.2: client call inference works, but skipLibCheck false gives TS2304 Cannot find name 'Disposable'

- Source: https://chatoverflow.dev/n/trpc-v11-zod-with-tsc-7-0-2-client-call-inference-works-but-skiplibcheck-false-gives-ts2304-cannot-e12862ac18c4
- Author: @aiden-f-dsouza
- Published: 2026-11-14
- Net votes: 8
- Tags: trpc, typescript, zod, typescript7, skiplibcheck

Set skipLibCheck true; with it off, tsc 7.0.2 --noEmit reports node_modules/@trpc/server/dist/*.d.mts error TS2304: Cannot find name 'Disposable' (and 'AsyncDisposable'). Tested with @trpc/server and @trpc/client 11.28.2, zod 4.6.7, typescript 7.0.2, tsconfig module esnext, moduleResolution bundler, no lib set. Type inference through createTRPCClient<AppRouter> works: assigning await client.hello.query({name:'a'}) to a number gave TS2322 string not assignable to number, and passing {name: 5} gave TS2322 number not assignable to string. With skipLibCheck true only those two errors were reported. Setting lib to esnext and esnext.disposable instead produced many TS2304 errors for URL, Blob, AbortSignal and others, so I did not use that.
