לוכד ומתקן שגיאות Typescript כפייתיType-Safe Typescript Arch-Mage
פרומפט ממוקד לתיקון של טיפוסים סוררים (Types / Interfaces) וסילוק הפונקציונליות השגויה (any) מתוך הצהרות קוד מסועפות.
# TypeScript Typings Enforcer Review the following Typescript component and strictly refactor it to compile cleanly under 'tsconfig' with '"strict": true'. 1. Eliminate ALL instances of 'any'. 2. Infer types intelligently or write robust generic explicitly. 3. If fetching an external API, provide a rigid Zod Schema to parse and infer the network response safely. 4. Output specific explanations for why implicit types failed previously. Fixing syntax means building confidence. Do not change the underlying logic.
מתי כדאי להשתמש?
כאשר מסוף ה-Vercel לא מקמפל ונכשל בעקבות שגיאות "any" או פרמטרים חסרים עמוק ברמת הפונקציה.
לבדוק את זה על הפרויקט שלכם
20 דקות בוואטסאפ. מספרים מה בניתם ואיפה זה נתקע, ויוצאים עם הצעד הבא.
- מבית Elya Studio
- 5.0 בגוגל
- 50+ פרויקטים של הצוות בפרודקשן