[{"data":1,"prerenderedAt":90},["ShallowReactive",2],{"term-a\u002Fany-abuse":3,"related-a\u002Fany-abuse":84},{"id":4,"title":5,"acronym":6,"body":7,"category":65,"description":66,"difficulty":67,"extension":68,"letter":69,"meta":70,"navigation":71,"path":72,"related":73,"seo":78,"sitemap":79,"stem":82,"subcategory":6,"__hash__":83},"terms\u002Fterms\u002Fa\u002Fany-abuse.md","Any Abuse",null,{"type":8,"value":9,"toc":58},"minimark",[10,15,27,31,51,55],[11,12,14],"h2",{"id":13},"eli5-the-vibe-check","ELI5 — The Vibe Check",[16,17,18,19,23,24,26],"p",{},"Any abuse is sprinkling ",[20,21,22],"code",{},"any"," through your TypeScript to shut the compiler up. Each ",[20,25,22],{}," is a TypeScript gun pointed at your foot. Eventually one of them fires and you're back to JavaScript with extra steps.",[11,28,30],{"id":29},"real-talk","Real Talk",[16,32,33,35,36,38,39,42,43,46,47,50],{},[20,34,22],{}," abuse is the overuse of TypeScript's ",[20,37,22],{}," type to bypass type checking. Each occurrence disables type safety for that value and transitively for anything derived from it. Linters (typescript-eslint's ",[20,40,41],{},"no-explicit-any",", ",[20,44,45],{},"no-unsafe-*"," rules) can enforce stricter usage. Preferred alternatives: ",[20,48,49],{},"unknown",", narrow generics, and runtime validation at boundaries.",[11,52,54],{"id":53},"when-youll-hear-this","When You'll Hear This",[16,56,57],{},"\"Stop the any abuse — use unknown and narrow it.\" \u002F \"Our tsconfig caught 80 cases of any abuse once we enabled strict.\"",{"title":59,"searchDepth":60,"depth":60,"links":61},"",2,[62,63,64],{"id":13,"depth":60,"text":14},{"id":29,"depth":60,"text":30},{"id":53,"depth":60,"text":54},"languages","Any abuse is sprinkling `any` through your TypeScript to shut the compiler up. Each `any` is a TypeScript gun pointed at your foot.","beginner","md","a",{},true,"\u002Fterms\u002Fa\u002Fany-abuse",[74,75,76,77],"TypeScript","Strict Mode","Unknown","Type Safety",{"title":5,"description":66},{"changefreq":80,"priority":81},"weekly",0.7,"terms\u002Fa\u002Fany-abuse","Ec-WZPjfNCkTQNVqSjNvel8Jn8beuXINQ5dhzBW3gI0",[85],{"title":74,"path":86,"acronym":6,"category":87,"difficulty":88,"description":89},"\u002Fterms\u002Ft\u002Ftypescript","frontend","intermediate","TypeScript is JavaScript with a strict parent watching over it.",1776518255449]