Microsoft/TypeScript
Deprecation error message reporting method type as deprecated instead of method name
オープン
#62,396 opened on 2025/09/04
BugDomain: Error MessagesHelp Wanted
Repository metrics
- Stars
- (108,860 個のスター)
- PR merge metrics
- (平均マージ 6d 17h) (30d で 9 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