{
 "article": "https://w.n14n.dev/typescript/",
 "title": "TypeScript",
 "how_to_cite": "Cite the source of a claim, not this article. The article is an AI-written summary.",
 "how_claims_link": "A section lists the claims of the sources it cites, so a claim supports the section, not one sentence.",
 "verified_values": {
  "verified": "a verifier found the quote on the source page",
  "rejected": "a verifier read the source page and did not find the quote, or found it does not support the claim",
  "blocked": "a verifier could not open the source page, so the quote is unconfirmed",
  "unchecked": "never put to a verifier"
 },
 "read_values": {
  "raw": "the full text was read",
  "extracted": "large parts of the text were read",
  "abstract": "only the abstract was read",
  "snippet": "only a search snippet or summary was read",
  "blocked": "the page could not be opened"
 },
 "grade_values": {
  "solid": "the research rated the source highly trustworthy, and a verifier found every passage taken from it",
  "weak": "the research rated the source low, or a verifier did not find a passage taken from it",
  "medium": "the research rated the source medium; neither weak nor solid",
  "unchecked": "the research rated the source high, but a verifier could not check every passage taken from it (page blocked or not checked)",
  "retracted": "the work was retracted or withdrawn after publication; the article cites it only to say so"
 },
 "evidence_values": {
  "contested": "studies disagree on this",
  "weak": "few or small studies support this",
  "failed-replication": "when the study was repeated, the original result did not appear",
  "strong": "many studies agree on this",
  "replicated": "when other teams repeated the study, the original result appeared again",
  "null": "no note: the article does not single out the section's evidence"
 },
 "sections": [
  {
   "title": "Lead",
   "anchor": "lead",
   "evidence": null,
   "claims": [
    "javascript-typescript:C-history-15",
    "javascript-typescript:C-history-8",
    "javascript-typescript:C-empirical-1",
    "javascript-typescript:C-empirical-14",
    "javascript-typescript:C-history-25",
    "javascript-typescript:C-history-41",
    "javascript-typescript:C-history-43",
    "javascript-typescript:C-history-24",
    "javascript-typescript:C-empirical-5",
    "javascript-typescript:C-history-45",
    "javascript-typescript:C-history-46",
    "javascript-typescript:C-history-47",
    "javascript-typescript:C-empirical-3",
    "javascript-typescript:C-empirical-4",
    "javascript-typescript:C-history-49",
    "javascript-typescript:C-history-50"
   ]
  },
  {
   "title": "Origins and design goals",
   "anchor": "origins-and-design-goals",
   "evidence": null,
   "claims": [
    "javascript-typescript:C-history-32",
    "javascript-typescript:C-history-31",
    "javascript-typescript:C-empirical-22",
    "javascript-typescript:C-history-9",
    "javascript-typescript:C-history-8",
    "javascript-typescript:C-history-24"
   ]
  },
  {
   "title": "Type compatibility and erasure",
   "anchor": "type-compatibility-and-erasure",
   "evidence": null,
   "claims": [
    "javascript-typescript:C-history-11",
    "javascript-typescript:C-history-14",
    "javascript-typescript:C-history-33"
   ]
  },
  {
   "title": "Limits of the checker",
   "anchor": "limits-of-the-checker",
   "evidence": null,
   "claims": [
    "javascript-typescript:C-history-14",
    "javascript-typescript:C-history-24",
    "javascript-typescript:C-history-11",
    "javascript-typescript:C-history-8"
   ]
  },
  {
   "title": "Checking external data and imports",
   "anchor": "checking-external-data-and-imports",
   "evidence": null,
   "claims": [
    "typescript-agent-pitfalls:C-empirical-13",
    "typescript-agent-pitfalls:C-empirical-14",
    "typescript-agent-pitfalls:C-empirical-15",
    "typescript-agent-pitfalls:C-empirical-25",
    "typescript-agent-pitfalls:C-empirical-38"
   ]
  },
  {
   "title": "Runtime checks in Safe TypeScript",
   "anchor": "runtime-checks-in-safe-typescript",
   "evidence": "weak",
   "claims": [
    "javascript-typescript:C-history-25",
    "javascript-typescript:C-history-41",
    "javascript-typescript:C-history-43",
    "javascript-typescript:C-history-15"
   ]
  },
  {
   "title": "Bugs the checker can flag",
   "anchor": "bugs-the-checker-can-flag",
   "evidence": "weak",
   "claims": [
    "javascript-typescript:C-empirical-1",
    "javascript-typescript:C-empirical-5",
    "javascript-typescript:C-history-45",
    "javascript-typescript:C-history-46",
    "javascript-typescript:C-history-47"
   ]
  },
  {
   "title": "Type errors during editing",
   "anchor": "type-errors-during-editing",
   "evidence": "weak",
   "claims": [
    "typescript-agent-pitfalls:C-testing-9",
    "typescript-agent-pitfalls:C-testing-10",
    "typescript-agent-pitfalls:C-checkers-30",
    "typescript-agent-pitfalls:C-checkers-29",
    "typescript-agent-pitfalls:C-empirical-4",
    "typescript-agent-pitfalls:C-checkers-7"
   ]
  },
  {
   "title": "Explicit `any` and type assertions",
   "anchor": "explicit-any-and-type-assertions",
   "evidence": "weak",
   "claims": [
    "typescript-agent-pitfalls:C-empirical-1",
    "typescript-agent-pitfalls:C-empirical-8",
    "typescript-agent-pitfalls:C-checkers-31",
    "typescript-agent-pitfalls:C-empirical-2",
    "typescript-agent-pitfalls:C-empirical-3",
    "typescript-agent-pitfalls:C-checkers-22",
    "typescript-agent-pitfalls:C-checkers-32",
    "typescript-agent-pitfalls:C-checkers-33"
   ]
  },
  {
   "title": "Repairs to asynchronous code",
   "anchor": "repairs-to-asynchronous-code",
   "evidence": "weak",
   "claims": [
    "typescript-agent-pitfalls:C-checkers-1",
    "typescript-agent-pitfalls:C-checkers-2",
    "typescript-agent-pitfalls:C-checkers-3",
    "typescript-agent-pitfalls:C-checkers-6",
    "typescript-agent-pitfalls:C-empirical-32",
    "typescript-agent-pitfalls:C-checkers-9",
    "typescript-agent-pitfalls:C-checkers-8",
    "typescript-agent-pitfalls:C-empirical-33",
    "typescript-agent-pitfalls:C-empirical-37"
   ]
  },
  {
   "title": "Code quality and defects in projects",
   "anchor": "code-quality-and-defects-in-projects",
   "evidence": null,
   "claims": [
    "javascript-typescript:C-empirical-3",
    "javascript-typescript:C-empirical-4",
    "javascript-typescript:C-empirical-15",
    "javascript-typescript:C-empirical-14",
    "javascript-typescript:C-history-49",
    "javascript-typescript:C-history-50"
   ]
  },
  {
   "title": "Kinds of reported faults",
   "anchor": "kinds-of-reported-faults",
   "evidence": "weak",
   "claims": [
    "javascript-typescript:C-empirical-7",
    "javascript-typescript:C-empirical-18",
    "javascript-typescript:C-empirical-6",
    "javascript-typescript:C-empirical-26"
   ]
  },
  {
   "title": "How developers read type information",
   "anchor": "how-developers-read-type-information",
   "evidence": "weak",
   "claims": [
    "javascript-typescript:C-empirical-10"
   ]
  },
  {
   "title": "Use in practice",
   "anchor": "use-in-practice",
   "evidence": null,
   "claims": [
    "javascript-typescript:C-empirical-12",
    "javascript-typescript:C-empirical-13"
   ]
  },
  {
   "title": "Further reading",
   "anchor": "further-reading",
   "evidence": null,
   "claims": [
    "javascript-typescript:C-history-11",
    "javascript-typescript:C-history-14",
    "javascript-typescript:C-history-41",
    "javascript-typescript:C-history-15",
    "javascript-typescript:C-history-25",
    "javascript-typescript:C-history-43",
    "javascript-typescript:C-empirical-1",
    "javascript-typescript:C-empirical-5",
    "javascript-typescript:C-history-45",
    "javascript-typescript:C-history-46",
    "javascript-typescript:C-history-47",
    "javascript-typescript:C-empirical-4",
    "javascript-typescript:C-empirical-14",
    "javascript-typescript:C-empirical-3",
    "javascript-typescript:C-history-49",
    "javascript-typescript:C-history-50",
    "typescript-agent-pitfalls:C-empirical-1",
    "typescript-agent-pitfalls:C-empirical-2",
    "typescript-agent-pitfalls:C-checkers-31",
    "typescript-agent-pitfalls:C-empirical-3"
   ]
  }
 ],
 "claims": [
  {
   "id": "javascript-typescript:C-history-15",
   "claim": "TypeScript adds optional type annotations to JavaScript.",
   "quote": "TypeScript is JavaScript with optional type annotations",
   "source": {
    "id": "javascript-typescript:S-history-14",
    "key": "rastogi2015",
    "author": "Rastogi, Aseem and Swamy, Nikhil and Fournet, Cédric and Bierman, Gavin M. and Vekris, Panagiotis",
    "year": "2015",
    "title": "Safe & efficient gradual typing for TypeScript",
    "publisher": "Proceedings of the 42nd Annual ACM SIGPLAN-SIGACT Symposium on Principles of Programming Languages",
    "url": "https://goto.ucsd.edu/~pvekris/docs/safets.pdf",
    "in_text": "Rastogi et al. (2015)",
    "type": "peer-reviewed",
    "read": "extracted",
    "trust": "high",
    "trust_reason": "Prototype evaluation and stated argument for runtime checking."
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "lead",
    "runtime-checks-in-safe-typescript",
    "further-reading"
   ]
  },
  {
   "id": "javascript-typescript:C-history-8",
   "claim": "TypeScript's stated design goals include detecting likely errors before execution, structuring larger pieces of code, and preserving JavaScript's runtime behavior.",
   "quote": "Statically identify constructs that are likely to be errors. ... Provide a structuring mechanism for larger pieces of code. ... Preserve runtime behavior of all JavaScript code.",
   "source": {
    "id": "javascript-typescript:S-history-4",
    "key": "typescriptnd",
    "author": "{Microsoft TypeScript Team}",
    "year": "n.d.d",
    "title": "TypeScript design goals",
    "publisher": "GitHub",
    "url": "https://github.com/microsoft/TypeScript-wiki/blob/main/TypeScript-Design-Goals.md?plain=1",
    "in_text": "Team (n.d.d)",
    "type": "documentation",
    "read": "extracted",
    "trust": "high",
    "trust_reason": "TypeScript team's own design-goals statement; says rules are subjective; no measured claims"
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "lead",
    "origins-and-design-goals",
    "limits-of-the-checker"
   ]
  },
  {
   "id": "javascript-typescript:C-empirical-1",
   "claim": "In a retrospective study of public JavaScript bugs with manually added type annotations, Flow 0.30 and TypeScript 2.0 each detected about 15% of the bugs.",
   "quote": "We manually add type annotations to the buggy code ... both Flow 0.30 and TypeScript 2.0 successfully detect 15%!",
   "source": {
    "id": "javascript-typescript:S-empirical-1",
    "key": "gao2017",
    "author": "Gao, Zheng and Bird, Christian and Barr, Earl T.",
    "year": "2017b",
    "title": "To type or not to type: Quantifying detectable bugs in JavaScript",
    "publisher": "Proceedings of the 39th International Conference on Software Engineering",
    "url": "https://swizec.com/pdfs/typestudy.pdf",
    "in_text": "Gao et al. (2017b)",
    "type": "peer-reviewed",
    "read": "extracted",
    "trust": "high",
    "trust_reason": "own study of 400 sampled public bugs; method shown; no stake"
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "lead",
    "bugs-the-checker-can-flag",
    "further-reading"
   ]
  },
  {
   "id": "javascript-typescript:C-empirical-14",
   "claim": "The repository comparison controlled for size and limited itself to open-source front-end applications, but did not control for developer numbers or experience.",
   "quote": "Our entire sample consists of open-source frontend applications ... the number of developers and their experience was not taken into account ... we controlled for size",
   "source": {
    "id": "javascript-typescript:S-empirical-2",
    "key": "bogner2022",
    "author": "Bogner, Justus and Merkel, Manuel",
    "year": "2022",
    "title": "To type or not to type? A systematic comparison of the software quality of JavaScript and TypeScript applications on GitHub",
    "publisher": "Proceedings of the 19th International Conference on Mining Software Repositories",
    "url": "https://arxiv.org/abs/2203.11115",
    "in_text": "Bogner & Merkel (2022)",
    "type": "peer-reviewed",
    "read": "extracted",
    "trust": "high",
    "trust_reason": "own repository-mining study, 604 projects, method shown; no stake"
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "lead",
    "code-quality-and-defects-in-projects",
    "further-reading"
   ]
  },
  {
   "id": "javascript-typescript:C-history-25",
   "claim": "The researchers behind Safe TypeScript argued that sound gradual typing for JavaScript is feasible and their prototype found runtime type-safety violations.",
   "quote": "we contend that a sound gradual type system for JavaScript is practically feasible ... uncover programming errors as type safety violations",
   "source": {
    "id": "javascript-typescript:S-history-14",
    "key": "rastogi2015",
    "author": "Rastogi, Aseem and Swamy, Nikhil and Fournet, Cédric and Bierman, Gavin M. and Vekris, Panagiotis",
    "year": "2015",
    "title": "Safe & efficient gradual typing for TypeScript",
    "publisher": "Proceedings of the 42nd Annual ACM SIGPLAN-SIGACT Symposium on Principles of Programming Languages",
    "url": "https://goto.ucsd.edu/~pvekris/docs/safets.pdf",
    "in_text": "Rastogi et al. (2015)",
    "type": "peer-reviewed",
    "read": "extracted",
    "trust": "high",
    "trust_reason": "Prototype evaluation and stated argument for runtime checking."
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "lead",
    "runtime-checks-in-safe-typescript",
    "further-reading"
   ]
  },
  {
   "id": "javascript-typescript:C-history-41",
   "claim": "In the Safe TypeScript evaluation, putting runtime checks in its own compiler bootstrap made the run take 15% longer than running the same compiler with checks disabled.",
   "quote": "relative to bootstrapping the same code base with all runtime checks disabled) was a slowdown of only 15%.",
   "source": {
    "id": "javascript-typescript:S-history-14",
    "key": "rastogi2015",
    "author": "Rastogi, Aseem and Swamy, Nikhil and Fournet, Cédric and Bierman, Gavin M. and Vekris, Panagiotis",
    "year": "2015",
    "title": "Safe & efficient gradual typing for TypeScript",
    "publisher": "Proceedings of the 42nd Annual ACM SIGPLAN-SIGACT Symposium on Principles of Programming Languages",
    "url": "https://goto.ucsd.edu/~pvekris/docs/safets.pdf",
    "in_text": "Rastogi et al. (2015)",
    "type": "peer-reviewed",
    "read": "extracted",
    "trust": "high",
    "trust_reason": "Prototype evaluation and stated argument for runtime checking."
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "lead",
    "runtime-checks-in-safe-typescript",
    "further-reading"
   ]
  },
  {
   "id": "javascript-typescript:C-history-43",
   "claim": "The Safe TypeScript researchers reported higher overhead in a preliminary evaluation of a later compiler version with more costly structural checks.",
   "quote": "the overhead of the dynamic checks is much higher as compared to Safe TypeScript",
   "source": {
    "id": "javascript-typescript:S-history-14",
    "key": "rastogi2015",
    "author": "Rastogi, Aseem and Swamy, Nikhil and Fournet, Cédric and Bierman, Gavin M. and Vekris, Panagiotis",
    "year": "2015",
    "title": "Safe & efficient gradual typing for TypeScript",
    "publisher": "Proceedings of the 42nd Annual ACM SIGPLAN-SIGACT Symposium on Principles of Programming Languages",
    "url": "https://goto.ucsd.edu/~pvekris/docs/safets.pdf",
    "in_text": "Rastogi et al. (2015)",
    "type": "peer-reviewed",
    "read": "extracted",
    "trust": "high",
    "trust_reason": "Prototype evaluation and stated argument for runtime checking."
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "lead",
    "runtime-checks-in-safe-typescript",
    "further-reading"
   ]
  },
  {
   "id": "javascript-typescript:C-history-24",
   "claim": "The TypeScript team explicitly chose to balance correctness and productivity instead of demanding a sound type system.",
   "quote": "Apply a sound or \\\"provably correct\\\" type system. Instead, strike a balance between correctness and productivity.",
   "source": {
    "id": "javascript-typescript:S-history-4",
    "key": "typescriptnd",
    "author": "{Microsoft TypeScript Team}",
    "year": "n.d.d",
    "title": "TypeScript design goals",
    "publisher": "GitHub",
    "url": "https://github.com/microsoft/TypeScript-wiki/blob/main/TypeScript-Design-Goals.md?plain=1",
    "in_text": "Team (n.d.d)",
    "type": "documentation",
    "read": "extracted",
    "trust": "high",
    "trust_reason": "TypeScript team's own design-goals statement; says rules are subjective; no measured claims"
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "lead",
    "origins-and-design-goals",
    "limits-of-the-checker"
   ]
  },
  {
   "id": "javascript-typescript:C-empirical-5",
   "claim": "The initial assessment of 400 public bugs found that Flow detected 59 and TypeScript detected 58 before the authors resolved 18 uncertain cases.",
   "quote": "Flow successfully detects 59 of them and TypeScript 58 ... leaving 18 unknown",
   "source": {
    "id": "javascript-typescript:S-empirical-1",
    "key": "gao2017",
    "author": "Gao, Zheng and Bird, Christian and Barr, Earl T.",
    "year": "2017b",
    "title": "To type or not to type: Quantifying detectable bugs in JavaScript",
    "publisher": "Proceedings of the 39th International Conference on Software Engineering",
    "url": "https://swizec.com/pdfs/typestudy.pdf",
    "in_text": "Gao et al. (2017b)",
    "type": "peer-reviewed",
    "read": "extracted",
    "trust": "high",
    "trust_reason": "own study of 400 sampled public bugs; method shown; no stake"
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "lead",
    "bugs-the-checker-can-flag",
    "further-reading"
   ]
  },
  {
   "id": "javascript-typescript:C-history-45",
   "claim": "The JavaScript bug detectability study read the bug-fixing commit when deciding what types to annotate.",
   "quote": "The first, and most important, tactic is to read the bug-fixing commit.",
   "source": {
    "id": "javascript-typescript:S-empirical-1",
    "key": "gao2017",
    "author": "Gao, Zheng and Bird, Christian and Barr, Earl T.",
    "year": "2017b",
    "title": "To type or not to type: Quantifying detectable bugs in JavaScript",
    "publisher": "Proceedings of the 39th International Conference on Software Engineering",
    "url": "https://swizec.com/pdfs/typestudy.pdf",
    "in_text": "Gao et al. (2017b)",
    "type": "peer-reviewed",
    "read": "extracted",
    "trust": "high",
    "trust_reason": "own study of 400 sampled public bugs; method shown; no stake"
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "lead",
    "bugs-the-checker-can-flag",
    "further-reading"
   ]
  },
  {
   "id": "javascript-typescript:C-history-46",
   "claim": "In the JavaScript bug study, 18 cases could not be classified within ten minutes and were given additional time.",
   "quote": "within 10 minutes, leaving 18 unknown. ... For these 18 bugs, we spent as much time as needed",
   "source": {
    "id": "javascript-typescript:S-empirical-1",
    "key": "gao2017",
    "author": "Gao, Zheng and Bird, Christian and Barr, Earl T.",
    "year": "2017b",
    "title": "To type or not to type: Quantifying detectable bugs in JavaScript",
    "publisher": "Proceedings of the 39th International Conference on Software Engineering",
    "url": "https://swizec.com/pdfs/typestudy.pdf",
    "in_text": "Gao et al. (2017b)",
    "type": "peer-reviewed",
    "read": "extracted",
    "trust": "high",
    "trust_reason": "own study of 400 sampled public bugs; method shown; no stake"
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "lead",
    "bugs-the-checker-can-flag",
    "further-reading"
   ]
  },
  {
   "id": "javascript-typescript:C-history-47",
   "claim": "In the examined bug corpus, 22 bugs were detectable by TypeScript 2.0 but not TypeScript 1.8.",
   "quote": "22 bugs, an increase of 58%, are detectable under TypeScript 2.0 but not under TypeScript 1.8.",
   "source": {
    "id": "javascript-typescript:S-empirical-1",
    "key": "gao2017",
    "author": "Gao, Zheng and Bird, Christian and Barr, Earl T.",
    "year": "2017b",
    "title": "To type or not to type: Quantifying detectable bugs in JavaScript",
    "publisher": "Proceedings of the 39th International Conference on Software Engineering",
    "url": "https://swizec.com/pdfs/typestudy.pdf",
    "in_text": "Gao et al. (2017b)",
    "type": "peer-reviewed",
    "read": "extracted",
    "trust": "high",
    "trust_reason": "own study of 400 sampled public bugs; method shown; no stake"
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "lead",
    "bugs-the-checker-can-flag",
    "further-reading"
   ]
  },
  {
   "id": "javascript-typescript:C-empirical-3",
   "claim": "In 604 GitHub projects, the average share of bug-fix commits was 20.6% for the 305 TypeScript projects and 12.6% for the 299 JavaScript projects.",
   "quote": "299 for JS, 305 for TS ... mean bug fix commit ratio ... (0.126 vs. 0.206)",
   "source": {
    "id": "javascript-typescript:S-empirical-2",
    "key": "bogner2022",
    "author": "Bogner, Justus and Merkel, Manuel",
    "year": "2022",
    "title": "To type or not to type? A systematic comparison of the software quality of JavaScript and TypeScript applications on GitHub",
    "publisher": "Proceedings of the 19th International Conference on Mining Software Repositories",
    "url": "https://arxiv.org/abs/2203.11115",
    "in_text": "Bogner & Merkel (2022)",
    "type": "peer-reviewed",
    "read": "extracted",
    "trust": "high",
    "trust_reason": "own repository-mining study, 604 projects, method shown; no stake"
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "lead",
    "code-quality-and-defects-in-projects",
    "further-reading"
   ]
  },
  {
   "id": "javascript-typescript:C-empirical-4",
   "claim": "The TypeScript sample did better on the study’s measures of code smell density and cognitive complexity per line.",
   "quote": "code smells per LoC ... cognitive complexity per LoC ... better code quality and understandability",
   "source": {
    "id": "javascript-typescript:S-empirical-2",
    "key": "bogner2022",
    "author": "Bogner, Justus and Merkel, Manuel",
    "year": "2022",
    "title": "To type or not to type? A systematic comparison of the software quality of JavaScript and TypeScript applications on GitHub",
    "publisher": "Proceedings of the 19th International Conference on Mining Software Repositories",
    "url": "https://arxiv.org/abs/2203.11115",
    "in_text": "Bogner & Merkel (2022)",
    "type": "peer-reviewed",
    "read": "extracted",
    "trust": "high",
    "trust_reason": "own repository-mining study, 604 projects, method shown; no stake"
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "lead",
    "code-quality-and-defects-in-projects",
    "further-reading"
   ]
  },
  {
   "id": "javascript-typescript:C-history-49",
   "claim": "The project comparison identified bug fixes using ‘bug’ and ‘fix’ in commit messages; manual inspection found 6% of the flagged sample contained no fix.",
   "quote": "searching for “bug” and “fix” in commit messages. ... 6% of commits contained no bug fix",
   "source": {
    "id": "javascript-typescript:S-empirical-2",
    "key": "bogner2022",
    "author": "Bogner, Justus and Merkel, Manuel",
    "year": "2022",
    "title": "To type or not to type? A systematic comparison of the software quality of JavaScript and TypeScript applications on GitHub",
    "publisher": "Proceedings of the 19th International Conference on Mining Software Repositories",
    "url": "https://arxiv.org/abs/2203.11115",
    "in_text": "Bogner & Merkel (2022)",
    "type": "peer-reviewed",
    "read": "extracted",
    "trust": "high",
    "trust_reason": "own repository-mining study, 604 projects, method shown; no stake"
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "lead",
    "code-quality-and-defects-in-projects",
    "further-reading"
   ]
  },
  {
   "id": "javascript-typescript:C-history-50",
   "claim": "The project comparison controlled for project size but did not account for developer numbers or experience.",
   "quote": "the number of developers and their experience was not taken into account ... we controlled for size as a confounding variable",
   "source": {
    "id": "javascript-typescript:S-empirical-2",
    "key": "bogner2022",
    "author": "Bogner, Justus and Merkel, Manuel",
    "year": "2022",
    "title": "To type or not to type? A systematic comparison of the software quality of JavaScript and TypeScript applications on GitHub",
    "publisher": "Proceedings of the 19th International Conference on Mining Software Repositories",
    "url": "https://arxiv.org/abs/2203.11115",
    "in_text": "Bogner & Merkel (2022)",
    "type": "peer-reviewed",
    "read": "extracted",
    "trust": "high",
    "trust_reason": "own repository-mining study, 604 projects, method shown; no stake"
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "lead",
    "code-quality-and-defects-in-projects",
    "further-reading"
   ]
  },
  {
   "id": "javascript-typescript:C-history-32",
   "claim": "TypeScript 1.0 targeted large JavaScript applications.",
   "quote": "TypeScript 1.0 is a language designed with large-scale JavaScript application development in mind.",
   "source": {
    "id": "javascript-typescript:S-history-18",
    "key": "turner2014",
    "author": "Turner, Jonathan",
    "year": "2014",
    "title": "Announcing TypeScript 1.0",
    "publisher": "Microsoft TypeScript Dev Blog",
    "url": "https://devblogs.microsoft.com/typescript/announcing-typescript-1-0/",
    "in_text": "Turner (2014)",
    "type": "vendor",
    "read": "extracted",
    "trust": "medium",
    "trust_reason": "describes own product release; unsourced scale claim; no data"
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "origins-and-design-goals"
   ]
  },
  {
   "id": "javascript-typescript:C-history-31",
   "claim": "Microsoft first released TypeScript 0.8 in October 2012 and announced version 1.0 in April 2014.",
   "quote": "Today, we’re happy to announce TypeScript 1.0. ... our first release, TypeScript 0.8 in October 2012",
   "source": {
    "id": "javascript-typescript:S-history-18",
    "key": "turner2014",
    "author": "Turner, Jonathan",
    "year": "2014",
    "title": "Announcing TypeScript 1.0",
    "publisher": "Microsoft TypeScript Dev Blog",
    "url": "https://devblogs.microsoft.com/typescript/announcing-typescript-1-0/",
    "in_text": "Turner (2014)",
    "type": "vendor",
    "read": "extracted",
    "trust": "medium",
    "trust_reason": "describes own product release; unsourced scale claim; no data"
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "origins-and-design-goals"
   ]
  },
  {
   "id": "javascript-typescript:C-empirical-22",
   "claim": "At the 2012 unveiling, TypeScript’s public conference description advertised classes and inheritance syntax and a preview of ECMAScript 6 features alongside static typing.",
   "quote": "implement classes and inheritance ... preview features in ECMAScript 6",
   "source": {
    "id": "javascript-typescript:S-history-5",
    "key": "oredev2012",
    "author": "{Øredev}",
    "year": "2012",
    "title": "TypeScript: JavaScript development at application scale",
    "publisher": "Øredev 2012",
    "url": "https://archive.oredev.org/oredev2012/prod/oredev/2012.nsf/blogposts/662de0f529407a69c1257a8b0040d0d8",
    "in_text": "Øredev (2012)",
    "type": "other",
    "read": "extracted",
    "trust": "medium",
    "trust_reason": "conference organizer announces a session and describes TypeScript, naming Microsoft's launch; no results of its own; no stake beyond promoting the event"
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "origins-and-design-goals"
   ]
  },
  {
   "id": "javascript-typescript:C-history-9",
   "claim": "Microsoft launched TypeScript on 1 October 2012.",
   "quote": "On October 1, 2012 Microsoft launched a new programming language called TypeScript.",
   "source": {
    "id": "javascript-typescript:S-history-5",
    "key": "oredev2012",
    "author": "{Øredev}",
    "year": "2012",
    "title": "TypeScript: JavaScript development at application scale",
    "publisher": "Øredev 2012",
    "url": "https://archive.oredev.org/oredev2012/prod/oredev/2012.nsf/blogposts/662de0f529407a69c1257a8b0040d0d8",
    "in_text": "Øredev (2012)",
    "type": "other",
    "read": "extracted",
    "trust": "medium",
    "trust_reason": "conference organizer announces a session and describes TypeScript, naming Microsoft's launch; no results of its own; no stake beyond promoting the event"
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "origins-and-design-goals"
   ]
  },
  {
   "id": "javascript-typescript:C-history-11",
   "claim": "TypeScript compatibility is generally structural: it compares the members of types rather than their declared names.",
   "quote": "Type compatibility in TypeScript is based on structural subtyping. Structural typing is a way of relating types based solely on their members.",
   "source": {
    "id": "javascript-typescript:S-history-7",
    "key": "typescriptndb",
    "author": "{Microsoft TypeScript Team}",
    "year": "n.d.c",
    "title": "Type compatibility",
    "publisher": "TypeScript Handbook",
    "url": "https://www.typescriptlang.org/docs/handbook/type-compatibility.html",
    "in_text": "Team (n.d.c)",
    "type": "documentation",
    "read": "extracted",
    "trust": "high",
    "trust_reason": "maintainer's own documentation of how the language behaves; no evaluation"
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "type-compatibility-and-erasure",
    "limits-of-the-checker",
    "further-reading"
   ]
  },
  {
   "id": "javascript-typescript:C-history-14",
   "claim": "TypeScript deliberately permits some operations whose safety it cannot establish at compile time.",
   "quote": "TypeScript’s type system allows certain operations that can’t be known at compile-time to be safe.",
   "source": {
    "id": "javascript-typescript:S-history-7",
    "key": "typescriptndb",
    "author": "{Microsoft TypeScript Team}",
    "year": "n.d.c",
    "title": "Type compatibility",
    "publisher": "TypeScript Handbook",
    "url": "https://www.typescriptlang.org/docs/handbook/type-compatibility.html",
    "in_text": "Team (n.d.c)",
    "type": "documentation",
    "read": "extracted",
    "trust": "high",
    "trust_reason": "maintainer's own documentation of how the language behaves; no evaluation"
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "type-compatibility-and-erasure",
    "limits-of-the-checker",
    "further-reading"
   ]
  },
  {
   "id": "javascript-typescript:C-history-33",
   "claim": "Node.js can execute files containing only erasable TypeScript syntax by stripping it without running the type checker.",
   "quote": "Node.js will replace TypeScript syntax with whitespace, and no type checking is performed.",
   "source": {
    "id": "javascript-typescript:S-history-19",
    "key": "nodejsnd",
    "author": "{Node.js}",
    "year": "n.d.c",
    "title": "Modules: TypeScript",
    "publisher": "Node.js Documentation",
    "url": "https://nodejs.org/dist/latest/docs/api/typescript.html",
    "in_text": "Node.js (n.d.c)",
    "type": "documentation",
    "read": "extracted",
    "trust": "high",
    "trust_reason": "maintainer's reference for its own feature; describes what it does; no stake"
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "type-compatibility-and-erasure"
   ]
  },
  {
   "id": "typescript-agent-pitfalls:C-empirical-13",
   "claim": "The handbook states that type assertions are erased during compilation and perform no runtime validation.",
   "quote": "Like a type annotation, type assertions are removed by the compiler and won’t affect the runtime behavior of your code.",
   "source": {
    "id": "typescript-agent-pitfalls:S-empirical-9",
    "key": "typescriptndtypes",
    "author": "{Microsoft TypeScript Team}",
    "year": "n.d.a",
    "title": "Everyday types",
    "publisher": "TypeScript Handbook",
    "url": "https://www.typescriptlang.org/docs/handbook/2/everyday-types.html",
    "in_text": "Team (n.d.a)",
    "type": "documentation",
    "read": "extracted",
    "trust": "high",
    "trust_reason": "Maintainer handbook describing compiler rules and runtime behavior."
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "checking-external-data-and-imports"
   ]
  },
  {
   "id": "typescript-agent-pitfalls:C-empirical-14",
   "claim": "The handbook describes double assertions through any or unknown as an escape hatch for a coercion the compiler rejects.",
   "quote": "If this happens, you can use two assertions, first to `any` (or `unknown`, which we’ll introduce later), then to the desired type:",
   "source": {
    "id": "typescript-agent-pitfalls:S-empirical-9",
    "key": "typescriptndtypes",
    "author": "{Microsoft TypeScript Team}",
    "year": "n.d.a",
    "title": "Everyday types",
    "publisher": "TypeScript Handbook",
    "url": "https://www.typescriptlang.org/docs/handbook/2/everyday-types.html",
    "in_text": "Team (n.d.a)",
    "type": "documentation",
    "read": "extracted",
    "trust": "high",
    "trust_reason": "Maintainer handbook describing compiler rules and runtime behavior."
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "checking-external-data-and-imports"
   ]
  },
  {
   "id": "typescript-agent-pitfalls:C-empirical-15",
   "claim": "TypeScript's paths option does not rewrite emitted import specifiers.",
   "quote": "The `paths` option does not change the import path in the code emitted by TypeScript.",
   "source": {
    "id": "typescript-agent-pitfalls:S-empirical-10",
    "key": "typescriptndmodules",
    "author": "{Microsoft TypeScript Team}",
    "year": "n.d.b",
    "title": "Modules reference",
    "publisher": "TypeScript Handbook",
    "url": "https://www.typescriptlang.org/docs/handbook/modules/reference.html",
    "in_text": "Team (n.d.b)",
    "type": "documentation",
    "read": "extracted",
    "trust": "high",
    "trust_reason": "Maintainer reference describing its own compiler and documented runtime failure of unmatched aliases."
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "checking-external-data-and-imports"
   ]
  },
  {
   "id": "typescript-agent-pitfalls:C-empirical-25",
   "claim": "TypeScript's module checking may miss named imports from CommonJS that fail at runtime in Node.js.",
   "quote": "This limits TypeScript’s ability to catch named imports that may crash at runtime.",
   "source": {
    "id": "typescript-agent-pitfalls:S-empirical-10",
    "key": "typescriptndmodules",
    "author": "{Microsoft TypeScript Team}",
    "year": "n.d.b",
    "title": "Modules reference",
    "publisher": "TypeScript Handbook",
    "url": "https://www.typescriptlang.org/docs/handbook/modules/reference.html",
    "in_text": "Team (n.d.b)",
    "type": "documentation",
    "read": "extracted",
    "trust": "high",
    "trust_reason": "Maintainer reference describing its own compiler and documented runtime failure of unmatched aliases."
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "checking-external-data-and-imports"
   ]
  },
  {
   "id": "typescript-agent-pitfalls:C-empirical-38",
   "claim": "TypeScript's paths option alone does not rewrite import paths.",
   "quote": "The `paths` option does not change the import path in the code emitted by TypeScript.",
   "source": {
    "id": "typescript-agent-pitfalls:S-empirical-10",
    "key": "typescriptndmodules",
    "author": "{Microsoft TypeScript Team}",
    "year": "n.d.b",
    "title": "Modules reference",
    "publisher": "TypeScript Handbook",
    "url": "https://www.typescriptlang.org/docs/handbook/modules/reference.html",
    "in_text": "Team (n.d.b)",
    "type": "documentation",
    "read": "extracted",
    "trust": "high",
    "trust_reason": "Maintainer reference describing its own compiler and documented runtime failure of unmatched aliases."
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "checking-external-data-and-imports"
   ]
  },
  {
   "id": "typescript-agent-pitfalls:C-testing-9",
   "claim": "In Claude Code runs with the LSP plugin installed, 70 of 75 used shell edits that the plugin did not see.",
   "quote": "With the plugin installed, the agent edited files through the shell, with `sed -i` and inline Python, in 70 runs of 75. The plugin only sees edits made with Claude Code’s own Edit and Write tools",
   "source": {
    "id": "typescript-agent-pitfalls:S-testing-8",
    "key": "nazarova2026",
    "author": "Nazarova, Irina",
    "year": "2026",
    "title": "Type errors cost our coding agents under 1% of their time",
    "publisher": "Evil Martians",
    "url": "https://evilmartians.com/chronicles/type-errors-cost-our-coding-agents-under-one-percent-of-their-time",
    "in_text": "Nazarova (2026)",
    "type": "blog",
    "read": "extracted",
    "trust": "medium",
    "trust_reason": "Own secondary analysis and controlled harness study; tasks and repetitions described; small TS task set with no direct product under test; no notice"
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "type-errors-during-editing"
   ]
  },
  {
   "id": "typescript-agent-pitfalls:C-testing-10",
   "claim": "A hook forcing edits through Claude Code’s Edit tool led to type errors appearing in 23 of 39 TypeScript runs.",
   "quote": "A `PreToolUse` hook that rejects shell edits did the trick. Every run switched to the Edit tool, and the language server finally spoke up: 23 of the 39 TypeScript runs were shown type errors, 184 in all.",
   "source": {
    "id": "typescript-agent-pitfalls:S-testing-8",
    "key": "nazarova2026",
    "author": "Nazarova, Irina",
    "year": "2026",
    "title": "Type errors cost our coding agents under 1% of their time",
    "publisher": "Evil Martians",
    "url": "https://evilmartians.com/chronicles/type-errors-cost-our-coding-agents-under-one-percent-of-their-time",
    "in_text": "Nazarova (2026)",
    "type": "blog",
    "read": "extracted",
    "trust": "medium",
    "trust_reason": "Own secondary analysis and controlled harness study; tasks and repetitions described; small TS task set with no direct product under test; no notice"
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "type-errors-during-editing"
   ]
  },
  {
   "id": "typescript-agent-pitfalls:C-checkers-30",
   "claim": "Nine failed TypeScript runs in the plugin conditions saw no type errors and never called the plugin tool.",
   "quote": "yet those 9 failed runs saw no type errors and never called the plugin’s tool.",
   "source": {
    "id": "typescript-agent-pitfalls:S-testing-8",
    "key": "nazarova2026",
    "author": "Nazarova, Irina",
    "year": "2026",
    "title": "Type errors cost our coding agents under 1% of their time",
    "publisher": "Evil Martians",
    "url": "https://evilmartians.com/chronicles/type-errors-cost-our-coding-agents-under-one-percent-of-their-time",
    "in_text": "Nazarova (2026)",
    "type": "blog",
    "read": "extracted",
    "trust": "medium",
    "trust_reason": "Own secondary analysis and controlled harness study; tasks and repetitions described; small TS task set with no direct product under test; no notice"
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "type-errors-during-editing"
   ]
  },
  {
   "id": "typescript-agent-pitfalls:C-checkers-29",
   "claim": "The language server exposed type errors in 23 of 39 TypeScript runs when a hook forced Claude Code to use its Edit tool.",
   "quote": "Every run switched to the Edit tool, and the language server finally spoke up: 23 of the 39 TypeScript runs were shown type errors, 184 in all.",
   "source": {
    "id": "typescript-agent-pitfalls:S-testing-8",
    "key": "nazarova2026",
    "author": "Nazarova, Irina",
    "year": "2026",
    "title": "Type errors cost our coding agents under 1% of their time",
    "publisher": "Evil Martians",
    "url": "https://evilmartians.com/chronicles/type-errors-cost-our-coding-agents-under-one-percent-of-their-time",
    "in_text": "Nazarova (2026)",
    "type": "blog",
    "read": "extracted",
    "trust": "medium",
    "trust_reason": "Own secondary analysis and controlled harness study; tasks and repetitions described; small TS task set with no direct product under test; no notice"
   },
   "verified": "unchecked",
   "captured": null,
   "cited_in": [
    "type-errors-during-editing"
   ]
  },
  {
   "id": "typescript-agent-pitfalls:C-empirical-4",
   "claim": "In TypeScript HumanEval and MBPP synthesis, idealized syntax enforcement could at most reduce compilation errors by 9.0% and 4.8%, respectively.",
   "quote": "compared to only 9.0% and 4.8% ideal improvement on the two datasets respectively through syntax-only constraining.",
   "source": {
    "id": "typescript-agent-pitfalls:S-empirical-2",
    "key": "mundler2025",
    "author": "Mündler, Niels and He, Jingxuan and Wang, Hao and Sen, Koushik and Song, Dawn and Vechev, Martin",
    "year": "2025",
    "title": "Type-constrained code generation with language models",
    "publisher": "Proceedings of the ACM on Programming Languages",
    "url": "https://arxiv.org/pdf/2504.09246",
    "in_text": "Mündler et al. (2025)",
    "type": "peer-reviewed",
    "read": "extracted",
    "trust": "high",
    "trust_reason": "Own controlled benchmark with multiple models, two datasets and reusable artifact; no disclosed stake or correction."
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "type-errors-during-editing"
   ]
  },
  {
   "id": "typescript-agent-pitfalls:C-checkers-7",
   "claim": "In unconstrained TypeScript synthesis and translation, syntax accounted on average for 9.0% of noncompiling HumanEval instances and 4.9% of noncompiling MBPP instances.",
   "quote": "on average only 9.0% and 4.9% of the non-compiling instances in HumanEval and MBPP respectively are due to syntactic errors",
   "source": {
    "id": "typescript-agent-pitfalls:S-empirical-2",
    "key": "mundler2025",
    "author": "Mündler, Niels and He, Jingxuan and Wang, Hao and Sen, Koushik and Song, Dawn and Vechev, Martin",
    "year": "2025",
    "title": "Type-constrained code generation with language models",
    "publisher": "Proceedings of the ACM on Programming Languages",
    "url": "https://arxiv.org/pdf/2504.09246",
    "in_text": "Mündler et al. (2025)",
    "type": "peer-reviewed",
    "read": "extracted",
    "trust": "high",
    "trust_reason": "Own controlled benchmark with multiple models, two datasets and reusable artifact; no disclosed stake or correction."
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "type-errors-during-editing"
   ]
  },
  {
   "id": "typescript-agent-pitfalls:C-empirical-1",
   "claim": "In filtered type-related pull requests, mean explicit any additions were 2.16 per agent PR and 0.24 per human PR.",
   "quote": "with means of the ‘any addition’ distributions across PRs at 2.16 and 0.24, respectively.",
   "source": {
    "id": "typescript-agent-pitfalls:S-empirical-1",
    "key": "lee2026f",
    "author": "Lee, Imgyeong and Ul Hassan, Tayyib and Hindle, Abram",
    "year": "2026c",
    "title": "Mining type constructs using patterns in AI-generated code",
    "publisher": "Proceedings of the 23rd International Conference on Mining Software Repositories",
    "url": "https://arxiv.org/html/2602.17955v1",
    "in_text": "Lee et al. (2026c)",
    "type": "peer-reviewed",
    "read": "extracted",
    "trust": "high",
    "trust_reason": "Own PR mining study with selection and comparisons reported; samples of hundreds; no disclosed commercial stake or correction."
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "explicit-any-and-type-assertions",
    "further-reading"
   ]
  },
  {
   "id": "typescript-agent-pitfalls:C-empirical-8",
   "claim": "The no-explicit-any rule catches explicit any annotations that TypeScript's noImplicitAny does not reject.",
   "quote": "compiler option prevents an implied `any`, but doesn't prevent `any` from being explicitly used the way this rule does.",
   "source": {
    "id": "typescript-agent-pitfalls:S-empirical-5",
    "key": "typescripteslintndany",
    "author": "{typescript-eslint}",
    "year": "n.d.a",
    "title": "no-explicit-any",
    "publisher": "typescript-eslint",
    "url": "https://typescript-eslint.io/rules/no-explicit-any/",
    "in_text": "typescript-eslint (n.d.a)",
    "type": "documentation",
    "read": "extracted",
    "trust": "high",
    "trust_reason": "Maintainer documentation describing its own rule and the language constructs it targets."
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "explicit-any-and-type-assertions"
   ]
  },
  {
   "id": "typescript-agent-pitfalls:C-checkers-31",
   "claim": "The Lee et al. mining framework detected type-related patterns using custom regular expressions, so its measurements have syntactic coverage limits.",
   "quote": "our data filtering framework relies on custom regex-based parsers to identify type-related PRs.",
   "source": {
    "id": "typescript-agent-pitfalls:S-empirical-1",
    "key": "lee2026f",
    "author": "Lee, Imgyeong and Ul Hassan, Tayyib and Hindle, Abram",
    "year": "2026c",
    "title": "Mining type constructs using patterns in AI-generated code",
    "publisher": "Proceedings of the 23rd International Conference on Mining Software Repositories",
    "url": "https://arxiv.org/html/2602.17955v1",
    "in_text": "Lee et al. (2026c)",
    "type": "peer-reviewed",
    "read": "extracted",
    "trust": "high",
    "trust_reason": "Own PR mining study with selection and comparisons reported; samples of hundreds; no disclosed commercial stake or correction."
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "explicit-any-and-type-assertions",
    "further-reading"
   ]
  },
  {
   "id": "typescript-agent-pitfalls:C-empirical-2",
   "claim": "The study observed more non-null and type assertions in agent PRs than in human PRs.",
   "quote": "Agentic PRs are also more likely to introduce overly type-related anti-patterns, such as non-null assertions and type assertions.",
   "source": {
    "id": "typescript-agent-pitfalls:S-empirical-1",
    "key": "lee2026f",
    "author": "Lee, Imgyeong and Ul Hassan, Tayyib and Hindle, Abram",
    "year": "2026c",
    "title": "Mining type constructs using patterns in AI-generated code",
    "publisher": "Proceedings of the 23rd International Conference on Mining Software Repositories",
    "url": "https://arxiv.org/html/2602.17955v1",
    "in_text": "Lee et al. (2026c)",
    "type": "peer-reviewed",
    "read": "extracted",
    "trust": "high",
    "trust_reason": "Own PR mining study with selection and comparisons reported; samples of hundreds; no disclosed commercial stake or correction."
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "explicit-any-and-type-assertions",
    "further-reading"
   ]
  },
  {
   "id": "typescript-agent-pitfalls:C-empirical-3",
   "claim": "The PR-mining study found agent-specific differences in use of any, with GitHub Copilot removing more instances than it added in its sample.",
   "quote": "GitHub Copilot shows a tendency to remove any types overall, whereas other AI agents also remove any types but add them more.",
   "source": {
    "id": "typescript-agent-pitfalls:S-empirical-1",
    "key": "lee2026f",
    "author": "Lee, Imgyeong and Ul Hassan, Tayyib and Hindle, Abram",
    "year": "2026c",
    "title": "Mining type constructs using patterns in AI-generated code",
    "publisher": "Proceedings of the 23rd International Conference on Mining Software Repositories",
    "url": "https://arxiv.org/html/2602.17955v1",
    "in_text": "Lee et al. (2026c)",
    "type": "peer-reviewed",
    "read": "extracted",
    "trust": "high",
    "trust_reason": "Own PR mining study with selection and comparisons reported; samples of hundreds; no disclosed commercial stake or correction."
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "explicit-any-and-type-assertions",
    "further-reading"
   ]
  },
  {
   "id": "typescript-agent-pitfalls:C-checkers-22",
   "claim": "noImplicitAny rejects implicit any, while the separate lint rule no-explicit-any addresses explicitly written any.",
   "quote": "TypeScript's `--noImplicitAny` compiler option prevents an implied `any`, but doesn't prevent `any` from being explicitly used the way this rule does.",
   "source": {
    "id": "typescript-agent-pitfalls:S-empirical-5",
    "key": "typescripteslintndany",
    "author": "{typescript-eslint}",
    "year": "n.d.a",
    "title": "no-explicit-any",
    "publisher": "typescript-eslint",
    "url": "https://typescript-eslint.io/rules/no-explicit-any/",
    "in_text": "typescript-eslint (n.d.a)",
    "type": "documentation",
    "read": "extracted",
    "trust": "high",
    "trust_reason": "Maintainer documentation describing its own rule and the language constructs it targets."
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "explicit-any-and-type-assertions"
   ]
  },
  {
   "id": "typescript-agent-pitfalls:C-checkers-32",
   "claim": "A single team-management implementation comparison kept strict, noUncheckedIndexedAccess and exactOptionalPropertyTypes constant across its experiments.",
   "quote": "All experiments use the same strict TypeScript config: `strict: true`, `noUncheckedIndexedAccess: true`, `exactOptionalPropertyTypes: true`.",
   "source": {
    "id": "typescript-agent-pitfalls:S-checkers-16",
    "key": "integrityconstraintnd",
    "author": "{Integrity Constraint}",
    "year": "n.d.",
    "title": "AI agent case study: Team management page",
    "publisher": "Integrity Constraint",
    "url": "https://integrity-constraint.net/ai-experiment",
    "in_text": "Constraint (n.d.)",
    "type": "blog",
    "read": "extracted",
    "trust": "medium",
    "trust_reason": "Own single-feature comparison with a shared checker config; very small convenience sample; no commercial stake or correction indicated."
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "explicit-any-and-type-assertions"
   ]
  },
  {
   "id": "typescript-agent-pitfalls:C-checkers-33",
   "claim": "The case study reports no explicit any in user code for its manual and agent implementations.",
   "quote": "`any` in user code | 0 | 0 | 0 | 0 | 0 | 0 | 0",
   "source": {
    "id": "typescript-agent-pitfalls:S-checkers-16",
    "key": "integrityconstraintnd",
    "author": "{Integrity Constraint}",
    "year": "n.d.",
    "title": "AI agent case study: Team management page",
    "publisher": "Integrity Constraint",
    "url": "https://integrity-constraint.net/ai-experiment",
    "in_text": "Constraint (n.d.)",
    "type": "blog",
    "read": "extracted",
    "trust": "medium",
    "trust_reason": "Own single-feature comparison with a shared checker config; very small convenience sample; no commercial stake or correction indicated."
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "explicit-any-and-type-assertions"
   ]
  },
  {
   "id": "typescript-agent-pitfalls:C-checkers-1",
   "claim": "In Ultracite’s 16 agent reruns on two pre-existing floating-promise defects, every run cleared the lint finding, but only three fixed the tested behavior.",
   "quote": "All 16 runs cleared the error. Three fixed the bug.",
   "source": {
    "id": "typescript-agent-pitfalls:S-checkers-1",
    "key": "bleaselnd",
    "author": "Bleasel, Hayden",
    "year": "n.d.",
    "title": "What happens to a promise nobody awaits",
    "publisher": "Ultracite Research",
    "url": "https://www.ultracite.ai/research/floating-promises",
    "in_text": "Bleasel (n.d.)",
    "type": "vendor",
    "read": "extracted",
    "trust": "medium",
    "trust_reason": "Own experiment; methods, scripts and test scenarios linked; vendor sells enforcement workflow, small sample; no correction indicated."
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "repairs-to-asynchronous-code"
   ]
  },
  {
   "id": "typescript-agent-pitfalls:C-checkers-2",
   "claim": "Twelve repairs in the Ultracite experiment added void, and one rethrew from an unobserved rejection handler.",
   "quote": "Twelve added `void`. One added a `.catch` that rethrew the error into a promise nobody held, which changes nothing.",
   "source": {
    "id": "typescript-agent-pitfalls:S-checkers-1",
    "key": "bleaselnd",
    "author": "Bleasel, Hayden",
    "year": "n.d.",
    "title": "What happens to a promise nobody awaits",
    "publisher": "Ultracite Research",
    "url": "https://www.ultracite.ai/research/floating-promises",
    "in_text": "Bleasel (n.d.)",
    "type": "vendor",
    "read": "extracted",
    "trust": "medium",
    "trust_reason": "Own experiment; methods, scripts and test scenarios linked; vendor sells enforcement workflow, small sample; no correction indicated."
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "repairs-to-asynchronous-code"
   ]
  },
  {
   "id": "typescript-agent-pitfalls:C-checkers-3",
   "claim": "Rerunning the promise lint rule alone could not distinguish the 13 unsuccessful repairs from the three behavioral fixes in Ultracite’s experiment.",
   "quote": "When the files were linted again afterwards, all 16 passed, so a tool that only re-runs the rule would have counted every run as a success.",
   "source": {
    "id": "typescript-agent-pitfalls:S-checkers-1",
    "key": "bleaselnd",
    "author": "Bleasel, Hayden",
    "year": "n.d.",
    "title": "What happens to a promise nobody awaits",
    "publisher": "Ultracite Research",
    "url": "https://www.ultracite.ai/research/floating-promises",
    "in_text": "Bleasel (n.d.)",
    "type": "vendor",
    "read": "extracted",
    "trust": "medium",
    "trust_reason": "Own experiment; methods, scripts and test scenarios linked; vendor sells enforcement workflow, small sample; no correction indicated."
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "repairs-to-asynchronous-code"
   ]
  },
  {
   "id": "typescript-agent-pitfalls:C-checkers-6",
   "claim": "Ultracite tested success and failure behavior in over 400 scenarios per function.",
   "quote": "We checked every result against the original in more than 400 scenarios per function, on the success path and the failure path.",
   "source": {
    "id": "typescript-agent-pitfalls:S-checkers-1",
    "key": "bleaselnd",
    "author": "Bleasel, Hayden",
    "year": "n.d.",
    "title": "What happens to a promise nobody awaits",
    "publisher": "Ultracite Research",
    "url": "https://www.ultracite.ai/research/floating-promises",
    "in_text": "Bleasel (n.d.)",
    "type": "vendor",
    "read": "extracted",
    "trust": "medium",
    "trust_reason": "Own experiment; methods, scripts and test scenarios linked; vendor sells enforcement workflow, small sample; no correction indicated."
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "repairs-to-asynchronous-code"
   ]
  },
  {
   "id": "typescript-agent-pitfalls:C-empirical-32",
   "claim": "The vendor's experiment required preserving runtime behavior, a restriction Claude cited when leaving a bug unchanged.",
   "quote": "I didn’t make that change because it alters runtime behaviour, which your rules ruled out.",
   "source": {
    "id": "typescript-agent-pitfalls:S-checkers-1",
    "key": "bleaselnd",
    "author": "Bleasel, Hayden",
    "year": "n.d.",
    "title": "What happens to a promise nobody awaits",
    "publisher": "Ultracite Research",
    "url": "https://www.ultracite.ai/research/floating-promises",
    "in_text": "Bleasel (n.d.)",
    "type": "vendor",
    "read": "extracted",
    "trust": "medium",
    "trust_reason": "Own experiment; methods, scripts and test scenarios linked; vendor sells enforcement workflow, small sample; no correction indicated."
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "repairs-to-asynchronous-code"
   ]
  },
  {
   "id": "typescript-agent-pitfalls:C-checkers-9",
   "claim": "Voiding a promise does not alter its behavior or handle its rejection.",
   "quote": "Voiding a Promise doesn't handle it or change the runtime behavior.",
   "source": {
    "id": "typescript-agent-pitfalls:S-checkers-3",
    "key": "typescripteslintndpromises",
    "author": "{typescript-eslint}",
    "year": "n.d.b",
    "title": "no-floating-promises",
    "publisher": "typescript-eslint",
    "url": "https://typescript-eslint.io/rules/no-floating-promises/",
    "in_text": "typescript-eslint (n.d.b)",
    "type": "documentation",
    "read": "extracted",
    "trust": "high",
    "trust_reason": "Maintainer’s own rule or compiler reference; describes behavior without evaluating results; no correction indicated."
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "repairs-to-asynchronous-code"
   ]
  },
  {
   "id": "typescript-agent-pitfalls:C-checkers-8",
   "claim": "The no-floating-promises rule uses type information.",
   "quote": "This rule requires type information to run, which comes with performance tradeoffs.",
   "source": {
    "id": "typescript-agent-pitfalls:S-checkers-3",
    "key": "typescripteslintndpromises",
    "author": "{typescript-eslint}",
    "year": "n.d.b",
    "title": "no-floating-promises",
    "publisher": "typescript-eslint",
    "url": "https://typescript-eslint.io/rules/no-floating-promises/",
    "in_text": "typescript-eslint (n.d.b)",
    "type": "documentation",
    "read": "extracted",
    "trust": "high",
    "trust_reason": "Maintainer’s own rule or compiler reference; describes behavior without evaluating results; no correction indicated."
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "repairs-to-asynchronous-code"
   ]
  },
  {
   "id": "typescript-agent-pitfalls:C-empirical-33",
   "claim": "The rule documentation states that voiding a promise does not change runtime behavior or handle rejection.",
   "quote": "Voiding a Promise doesn't handle it or change the runtime behavior.",
   "source": {
    "id": "typescript-agent-pitfalls:S-checkers-3",
    "key": "typescripteslintndpromises",
    "author": "{typescript-eslint}",
    "year": "n.d.b",
    "title": "no-floating-promises",
    "publisher": "typescript-eslint",
    "url": "https://typescript-eslint.io/rules/no-floating-promises/",
    "in_text": "typescript-eslint (n.d.b)",
    "type": "documentation",
    "read": "extracted",
    "trust": "high",
    "trust_reason": "Maintainer’s own rule or compiler reference; describes behavior without evaluating results; no correction indicated."
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "repairs-to-asynchronous-code"
   ]
  },
  {
   "id": "typescript-agent-pitfalls:C-empirical-37",
   "claim": "Voiding a promise does not handle its rejection.",
   "quote": "Voiding a Promise doesn't handle it or change the runtime behavior.",
   "source": {
    "id": "typescript-agent-pitfalls:S-checkers-3",
    "key": "typescripteslintndpromises",
    "author": "{typescript-eslint}",
    "year": "n.d.b",
    "title": "no-floating-promises",
    "publisher": "typescript-eslint",
    "url": "https://typescript-eslint.io/rules/no-floating-promises/",
    "in_text": "typescript-eslint (n.d.b)",
    "type": "documentation",
    "read": "extracted",
    "trust": "high",
    "trust_reason": "Maintainer’s own rule or compiler reference; describes behavior without evaluating results; no correction indicated."
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "repairs-to-asynchronous-code"
   ]
  },
  {
   "id": "javascript-typescript:C-empirical-15",
   "claim": "An undergraduate thesis comparing ten projects per language found more code smells among the JavaScript projects examined.",
   "quote": "ten projects JavaScript and ten TypeScript projects ... os projetos JavaScript apresentam maior ocorrência de code smells",
   "source": {
    "id": "javascript-typescript:S-empirical-12",
    "key": "ferreira2023",
    "author": "Ferreira, Pedro Augusto de Castro",
    "year": "2023",
    "title": "Investigando o impacto dos code smells na manutenibilidade de aplicações JavaScript e TypeScript",
    "publisher": "Universidade Federal do Ceará",
    "url": "https://repositorio.ufc.br/bitstream/riufc/74644/1/2023_tcc_padecferreira.pdf",
    "in_text": "Ferreira (2023)",
    "type": "other",
    "read": "extracted",
    "trust": "medium",
    "trust_reason": "Independent undergraduate thesis with a small 20-project sample and tool-dependent metrics."
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "code-quality-and-defects-in-projects"
   ]
  },
  {
   "id": "javascript-typescript:C-empirical-7",
   "claim": "A study of 633 bug reports from 16 TypeScript projects classified faults in eleven categories that included configuration, type-system and logic defects.",
   "quote": "eleven recurring categories of bugs across 16 TypeScript projects (633 total)",
   "source": {
    "id": "javascript-typescript:S-empirical-4",
    "key": "tang2026d",
    "author": "Tang, TianYi and Alimadadi, Saba and Sumner, Nick",
    "year": "2026a",
    "title": "From logic to toolchains: An empirical study of bugs in the TypeScript ecosystem",
    "publisher": "23rd International Conference on Mining Software Repositories",
    "url": "https://arxiv.org/html/2601.21186v1",
    "in_text": "Tang et al. (2026a)",
    "type": "preprint",
    "read": "extracted",
    "trust": "high",
    "trust_reason": "own empirical study; method and data shown; 633 bugs in 16 repos; NSERC funding; no stake"
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "kinds-of-reported-faults"
   ]
  },
  {
   "id": "javascript-typescript:C-empirical-18",
   "claim": "Tooling and configuration was the largest category of defects reported in the 16-project TypeScript study.",
   "quote": "The most prevalent categories are Tooling / Config (27.8%), API Misuse (14.5%), and Type Errors (12.4%)",
   "source": {
    "id": "javascript-typescript:S-empirical-4",
    "key": "tang2026d",
    "author": "Tang, TianYi and Alimadadi, Saba and Sumner, Nick",
    "year": "2026a",
    "title": "From logic to toolchains: An empirical study of bugs in the TypeScript ecosystem",
    "publisher": "23rd International Conference on Mining Software Repositories",
    "url": "https://arxiv.org/html/2601.21186v1",
    "in_text": "Tang et al. (2026a)",
    "type": "preprint",
    "read": "extracted",
    "trust": "high",
    "trust_reason": "own empirical study; method and data shown; 633 bugs in 16 repos; NSERC funding; no stake"
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "kinds-of-reported-faults"
   ]
  },
  {
   "id": "javascript-typescript:C-empirical-6",
   "claim": "In a study of 502 fixed bug reports from 19 repositories, 68% of the JavaScript faults examined involved faulty interactions with a webpage’s document object model.",
   "quote": "502 bug reports from 19 bug repositories ... the majority (68%) of JavaScript faults are DOM-related",
   "source": {
    "id": "javascript-typescript:S-empirical-5",
    "key": "ocariza2017",
    "author": "Ocariza, Jr., Frolin S. and Bajaj, Kartik and Pattabiraman, Karthik and Mesbah, Ali",
    "year": "2017",
    "title": "A study of causes and consequences of client-side JavaScript bugs",
    "publisher": "IEEE Transactions on Software Engineering",
    "url": "https://people.ece.ubc.ca/frolino/docs/jsbugsstudy_journal.pdf",
    "in_text": "Ocariza et al. (2017)",
    "type": "peer-reviewed",
    "read": "extracted",
    "trust": "high",
    "trust_reason": "own study of 502 bug reports from 19 repositories; method shown; no stake"
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "kinds-of-reported-faults"
   ]
  },
  {
   "id": "javascript-typescript:C-empirical-26",
   "claim": "The TypeScript study constructed its comparison by mapping partly overlapping categories to an older JavaScript taxonomy.",
   "quote": "several conceptually-overlapping categories, enabling partial comparability across studies",
   "source": {
    "id": "javascript-typescript:S-empirical-4",
    "key": "tang2026d",
    "author": "Tang, TianYi and Alimadadi, Saba and Sumner, Nick",
    "year": "2026a",
    "title": "From logic to toolchains: An empirical study of bugs in the TypeScript ecosystem",
    "publisher": "23rd International Conference on Mining Software Repositories",
    "url": "https://arxiv.org/html/2601.21186v1",
    "in_text": "Tang et al. (2026a)",
    "type": "preprint",
    "read": "extracted",
    "trust": "high",
    "trust_reason": "own empirical study; method and data shown; 633 bugs in 16 repos; NSERC funding; no stake"
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "kinds-of-reported-faults"
   ]
  },
  {
   "id": "javascript-typescript:C-empirical-10",
   "claim": "An eye-tracking experiment with 26 undergraduates found that people did not look directly at lines containing TypeScript annotations or declarations more often when these were present during summarization and bug-localization tasks.",
   "quote": "eye tracking study with 26 undergraduate students ... do not look directly at lines containing type annotations or type declarations more often",
   "source": {
    "id": "javascript-typescript:S-empirical-8",
    "key": "flint2026",
    "author": "Flint, Samuel W. and Dyer, Robert and Sharif, Bonita",
    "year": "2026",
    "title": "Do developers read type information? An eye-tracking study on TypeScript",
    "publisher": "ACM/IEEE 34th International Conference on Program Comprehension",
    "url": "https://arxiv.org/html/2602.04824v1",
    "in_text": "Flint et al. (2026)",
    "type": "preprint",
    "read": "extracted",
    "trust": "medium",
    "trust_reason": "own eye-tracking experiment; method and threats shown; only 26 participants, small; no stake"
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "how-developers-read-type-information"
   ]
  },
  {
   "id": "javascript-typescript:C-empirical-12",
   "claim": "Among 14,099 respondents answering the 2026 Stack Overflow survey’s multiple-choice language question, 62% reported extensive development work with JavaScript and 43.8% with TypeScript over the preceding year.",
   "quote": "JavaScript 8,742 62.0% ... TypeScript 6,171 43.8%",
   "source": {
    "id": "javascript-typescript:S-empirical-10",
    "key": "stackoverflow2026",
    "author": "{Stack Overflow}",
    "year": "2026",
    "title": "Programming, scripting, and markup languages",
    "publisher": "Stack Overflow Developer Survey",
    "url": "https://survey.stackoverflow.co/2026/technology/data/languages",
    "in_text": "Overflow (2026)",
    "type": "dataset",
    "read": "extracted",
    "trust": "medium",
    "trust_reason": "own survey n=14,099, self-reports only; no stake"
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "use-in-practice"
   ]
  },
  {
   "id": "javascript-typescript:C-empirical-13",
   "claim": "GitHub’s Octoverse recorded TypeScript as its top language by monthly contributors in August 2025, with 2,636,006 contributors.",
   "quote": "TypeScript finished #1 on GitHub in August 2025 with 2,636,006 monthly contributors",
   "source": {
    "id": "javascript-typescript:S-empirical-11",
    "key": "github2025",
    "author": "{GitHub Staff}",
    "year": "2025",
    "title": "Octoverse: A new developer joins GitHub every second as AI leads TypeScript to #1",
    "publisher": "The GitHub Blog",
    "url": "https://github.blog/news-insights/octoverse/octoverse-a-new-developer-joins-github-every-second-as-ai-leads-typescript-to-1/",
    "in_text": "Staff (2025)",
    "type": "vendor",
    "read": "extracted",
    "trust": "low",
    "trust_reason": "GitHub platform data; only definitions, no checkable data; GitHub sells Copilot and credits it for growth"
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "use-in-practice"
   ]
  }
 ],
 "sources": {
  "bleaselnd": {
   "grade": "medium",
   "why": "Vendor page, read in large part."
  },
  "bogner2022": {
   "grade": "solid",
   "why": "Peer-reviewed, read in large part."
  },
  "ferreira2023": {
   "grade": "medium",
   "why": "Read in large part."
  },
  "flint2026": {
   "grade": "medium",
   "why": "Preprint, read in large part."
  },
  "gao2017": {
   "grade": "solid",
   "why": "Peer-reviewed, read in large part."
  },
  "github2025": {
   "grade": "weak",
   "why": "Vendor page, read in large part."
  },
  "integrityconstraintnd": {
   "grade": "medium",
   "why": "Blog post, read in large part."
  },
  "lee2026f": {
   "grade": "solid",
   "why": "Peer-reviewed, read in large part."
  },
  "mundler2025": {
   "grade": "solid",
   "why": "Peer-reviewed, read in large part."
  },
  "nazarova2026": {
   "grade": "medium",
   "why": "Blog post, read in large part."
  },
  "nodejsnd": {
   "grade": "solid",
   "why": "Documentation, read in large part."
  },
  "ocariza2017": {
   "grade": "solid",
   "why": "Peer-reviewed, read in large part."
  },
  "oredev2012": {
   "grade": "medium",
   "why": "Read in large part."
  },
  "rastogi2015": {
   "grade": "solid",
   "why": "Peer-reviewed, read in large part."
  },
  "stackoverflow2026": {
   "grade": "medium",
   "why": "Read in large part."
  },
  "tang2026d": {
   "grade": "solid",
   "why": "Preprint, read in large part."
  },
  "turner2014": {
   "grade": "medium",
   "why": "Vendor page, read in large part."
  },
  "typescripteslintndany": {
   "grade": "solid",
   "why": "Documentation, read in large part."
  },
  "typescripteslintndpromises": {
   "grade": "solid",
   "why": "Documentation, read in large part."
  },
  "typescriptnd": {
   "grade": "solid",
   "why": "Documentation, read in large part."
  },
  "typescriptndb": {
   "grade": "solid",
   "why": "Documentation, read in large part."
  },
  "typescriptndmodules": {
   "grade": "solid",
   "why": "Documentation, read in large part."
  },
  "typescriptndtypes": {
   "grade": "solid",
   "why": "Documentation, read in large part."
  }
 }
}
