An agent silences a failing check with @ts-ignore, any, and a swallowed catch. Restoring the contract clears all 3 findings.
// @ts-ignore -- unblock buildexport function parseOrder(raw: any): any { try { const [amount, currency] = raw.split(" "); return { total: Number(amount), currency }; } catch (error) { return null; }}export interface Order { readonly total: number; readonly currency: string;}export function parseOrder(raw: string): Order { const [amount, currency] = raw.trim().split(/\s+/); if (!amount || !currency) throw new SyntaxError("Invalid order"); return { total: Number(amount), currency };}