Microsoft/TypeScript
GitHub ã§èŠãDeprecation error message reporting method type as deprecated instead of method name
Open
#62,396 opened on 2025幎9æ4æ¥
BugDomain: Error MessagesHelp Wanted
Repository metrics
- Stars
- Â (48,455 stars)
- PR merge metrics
-  (å¹³åããŒãž 2d 7h) (30d ã§ 8 merged PRs)
説æ
ð Search Terms
deprecated type
ð Version & Regression Information
- This is the behavior in every version I tried, and I reviewed the FAQ for entries about _________
⯠Playground Link
ð» Code
import { z } from "zod";
const tsconfigRawSchema = z.object({
compilerOptions: z.any()
}).passthrough();
ð Actual behavior
Hover passthrough:
'(): ZodObject<{ compilerOptions: ZodAny; }, $loose>' is deprecated.
ð Expected behavior
'passthrough()' is deprecated.
or something like that.
Additional information about the issue
No response