Microsoft/TypeScript
Ver no GitHubDeprecation error message reporting method type as deprecated instead of method name
Open
#62.396 aberto em 4 de set. de 2025
BugDomain: Error MessagesHelp Wanted
Métricas do repositório
- Stars
- (48.455 stars)
- Métricas de merge de PR
- (Mesclagem média 2d 7h) (8 fundiu PRs em 30d)
Description
🔎 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