The Concise TypeScript Book: A Concise Guide to Effective Development in TypeScript. Free and Open Source.
This report summarizes scanner evidence for gibbok/typescript-book, a TypeScript project with 10,364 GitHub stars. SynthScan examined 232,088 lines of code across 1571 source files, recording 87 pattern matches distributed across 8 syntactic categories. The legacy adjusted pattern signal is 0.5 (Low pattern signal); it is not an authorship estimate.
Use the findings to ask whether maintainers can explain intent, verify dependencies, simplify unnecessary scaffolding, and focus review effort. Risk Payload v1 adds ownership, supply-chain, over-engineering, and review-effort vectors when available. These are prompts for human verification, not probabilities, security findings, or measured maintenance costs.
Use each vector to guide manual verification of the underlying findings.
Payload schema: 1.0.0 · Engine: 2.0.0 · Scoring: heuristic-density-v1 · Scan date: 2026-10-31.
Can maintainers explain intent, assumptions, and trade-offs? 26 finding(s).
Are imports declared and package/API names verified? 43 finding(s).
Are wrappers, guards, and repeated structures necessary? 30 finding(s).
Which changes need focused human review? 87 finding(s).
This chart tracks the legacy adjusted pattern score across scan runs. Changes can reflect source changes, scan coverage, or detector/scoring versions; they do not measure AI adoption or prove that a team refactored code. Compare runs only when their scoring versions are compatible. The dashed line tracks the raw pattern-hit count.
Groups findings by configured severity weight. Severity is not a confidence estimate, security rating, or proof that a package is missing. Verify imports against the project's manifests and inspect each finding in its local design context.
This horizontal bar chart shows where configured pattern scores accumulate across directories. Treat the bars as locations to inspect, not as evidence of authorship or code quality. Use the file-level findings to decide whether a directory needs a focused ownership, dependency, complexity, or review check.
The scanner identified 87 distinct pattern matches across 8 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a detector match to inspect in context. Expand any category row to inspect the individual file paths, line numbers, code snippets, and the lexical context (CODE, COMMENT, or STRING) in which each match was detected.
Reading the findings table: The Severity column indicates the configured finding weight (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — legacy comment-context matches receive a ×1.5 score weight. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier under the legacy scoring model.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | README-it_IT.md | 3022 | const myObject = new Person('John Doe', 25); | CODE |
| LOW | README-de_DE.md | 3024 | const myObject = new Person('John Doe', 25); | CODE |
| LOW | README-id_ID.md | 3027 | const myObject = new Person('John Doe', 25); | CODE |
| LOW | README-pl_PL.md | 3024 | const myObject = new Person('John Doe', 25); | CODE |
| LOW | README-ru_RU.md | 3024 | const myObject = new Person('John Doe', 25); | CODE |
| LOW | README-ja_JP.md | 3024 | const myObject = new Person('John Doe', 25); | CODE |
| LOW | README-th_TH.md | 3024 | const myObject = new Person('John Doe', 25); | CODE |
| LOW | README-sv_SE.md | 3023 | const myObject = new Person('John Doe', 25); | CODE |
| LOW | README.md | 3024 | const myObject = new Person('John Doe', 25); | CODE |
| LOW | README-pt_BR.md | 3024 | const myObject = new Person('John Doe', 25); | CODE |
| LOW | README-cs_CZ.md | 3024 | const myObject = new Person('John Doe', 25); | CODE |
| LOW | README-fr_FR.md | 3024 | const myObject = new Person('John Doe', 25); | CODE |
| LOW | README-bg_BG.md | 3021 | const myObject = new Person('John Doe', 25); | CODE |
| LOW | README-zh_CN.md | 2999 | const myObject = new Person('John Doe', 25); | CODE |
| LOW | README-tr_TR.md | 3024 | const myObject = new Person('John Doe', 25); | CODE |
| LOW | README-ar.md | 3025 | const myObject = new Person('John Doe', 25); | CODE |
| LOW | README-ko_KR.md | 3024 | const myObject = new Person('John Doe', 25); | CODE |
| LOW | README_es_ES.md | 3024 | const myObject = new Person('John Doe', 25); | CODE |
| LOW | README-vi_VN.md | 3024 | const myObject = new Person('John Doe', 25); | CODE |
| LOW | website/src/content/docs/tr-tr/book/class.md | 41 | const myObject = new Person('John Doe', 25); | CODE |
| LOW | website/src/content/docs/fr-fr/book/class.md | 41 | const myObject = new Person('John Doe', 25); | CODE |
| LOW | website/src/content/docs/de-de/book/class.md | 41 | const myObject = new Person('John Doe', 25); | CODE |
| LOW | website/src/content/docs/pl-pl/book/class.md | 41 | const myObject = new Person('John Doe', 25); | CODE |
| LOW | website/src/content/docs/vi-vn/book/class.md | 41 | const myObject = new Person('John Doe', 25); | CODE |
| LOW | website/src/content/docs/es-es/book/class.md | 41 | const myObject = new Person('John Doe', 25); | CODE |
| LOW | website/src/content/docs/ru-ru/book/class.md | 41 | const myObject = new Person('John Doe', 25); | CODE |
| LOW | website/src/content/docs/ja-jp/book/class.md | 41 | const myObject = new Person('John Doe', 25); | CODE |
| LOW | website/src/content/docs/zh-cn/book/class.md | 41 | const myObject = new Person('John Doe', 25); | CODE |
| LOW | website/src/content/docs/cs-cz/book/class.md | 41 | const myObject = new Person('John Doe', 25); | CODE |
| LOW | website/src/content/docs/ar/book/class.md | 41 | const myObject = new Person('John Doe', 25); | CODE |
| LOW | website/src/content/docs/book/class.md | 41 | const myObject = new Person('John Doe', 25); | CODE |
| LOW | website/src/content/docs/ko-kr/book/class.md | 41 | const myObject = new Person('John Doe', 25); | CODE |
| LOW | website/src/content/docs/pt-br/book/class.md | 41 | const myObject = new Person('John Doe', 25); | CODE |
| LOW | website/src/content/docs/it-it/book/class.md | 39 | const myObject = new Person('John Doe', 25); | CODE |
| LOW | website/src/content/docs/id-id/book/class.md | 41 | const myObject = new Person('John Doe', 25); | CODE |
| LOW | website/src/content/docs/th-th/book/class.md | 41 | const myObject = new Person('John Doe', 25); | CODE |
| LOW | website/src/content/docs/sv-se/book/class.md | 41 | const myObject = new Person('John Doe', 25); | CODE |
| LOW | website/src/content/docs/bg-bg/book/class.md | 41 | const myObject = new Person('John Doe', 25); | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | tools/verify_codeblocks.py | 13 | print(f"Error: File {filename} not found.") | CODE |
| MEDIUM | …ols/utilities-add-translation/create_language_files.py | 20 | print(f"Error: Folder '{folder_path}' does not exist") | CODE |
| MEDIUM | tools/utilities-add-translation/split_markdown.py | 64 | print(f"Error: File '{file_path}' not found.") | CODE |
| MEDIUM⚡ | …tilities-add-translation/concatenate_language_files.py | 16 | print(f"Error: Directory '{directory}' does not exist") | CODE |
| LOW | …tilities-add-translation/concatenate_language_files.py | 56 | except Exception as e: | CODE |
| MEDIUM | …tilities-add-translation/concatenate_language_files.py | 57 | print(f"Error writing to output file: {e}") | CODE |
| MEDIUM | tools/utilities-add-translation/verify_concatenation.py | 14 | print(f"Error: Directory '{directory}' does not exist") | CODE |
| MEDIUM | tools/utilities-add-translation/verify_concatenation.py | 39 | print(f"Error: Concatenated file '{concatenated_filename}' not found in '{directory}'") | CODE |
| LOW⚡ | tools/utilities-add-translation/verify_concatenation.py | 63 | except Exception as e: | CODE |
| MEDIUM⚡ | tools/utilities-add-translation/verify_concatenation.py | 64 | print(f"Error reading {file_path.name}: {e}") | CODE |
| LOW⚡ | tools/utilities-add-translation/verify_concatenation.py | 72 | except Exception as e: | CODE |
| MEDIUM⚡ | tools/utilities-add-translation/verify_concatenation.py | 73 | print(f"Error reading concatenated file: {e}") | CODE |
| MEDIUM | …ities-add-translation/verify_concatenation_detailed.py | 13 | print(f"Error: Directory '{directory}' does not exist") | CODE |
| MEDIUM | …ities-add-translation/verify_concatenation_detailed.py | 38 | print(f"Error: Concatenated file '{concatenated_filename}' not found in '{directory}'") | CODE |
| LOW⚡ | …ities-add-translation/verify_concatenation_detailed.py | 59 | except Exception as e: | CODE |
| MEDIUM⚡ | …ities-add-translation/verify_concatenation_detailed.py | 60 | print(f"Error reading {file_path.name}: {e}") | CODE |
| LOW⚡ | …ities-add-translation/verify_concatenation_detailed.py | 68 | except Exception as e: | CODE |
| MEDIUM⚡ | …ities-add-translation/verify_concatenation_detailed.py | 69 | print(f"Error reading concatenated file: {e}") | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | tools/utilities-add-translation/README.md | 105 | # Step 1: Create Italian folder, split README.md, and create translation files | COMMENT |
| LOW⚡ | tools/utilities-add-translation/README.md | 108 | # Step 2: Translate each README-part-XX-it_IT.md file manually | COMMENT |
| LOW⚡ | tools/utilities-add-translation/README.md | 110 | # Step 3: Concatenate all translated parts | COMMENT |
| LOW⚡ | tools/utilities-add-translation/README.md | 113 | # Step 4: Verify the concatenation | COMMENT |
| LOW⚡ | tools/utilities-add-translation/README.md | 122 | # Step 1: Create Spanish folder, split README.md, and create translation files | COMMENT |
| LOW⚡ | tools/utilities-add-translation/README.md | 125 | # Step 2: Translate each README-part-XX-es_ES.md file manually | COMMENT |
| LOW⚡ | tools/utilities-add-translation/README.md | 127 | # Step 3: Concatenate all translated parts | COMMENT |
| LOW⚡ | tools/utilities-add-translation/README.md | 130 | # Step 4: Verify the concatenation | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tools/make-website-content.py | 110 | def make_markdown_page_metadata(order: int, header: str) -> List[str]: | CODE |
| LOW | tools/make-website-content.py | 226 | def rewrite_markdown_anchor_links( | CODE |
| LOW | tools/make-website-content.py | 258 | def split_content_by_headings(lines: List[str], anchor_links: Dict[str, str]): | CODE |
| LOW | tools/test_pdf_tables.py | 9 | def test_only_headers_have_borders(self): | CODE |
| LOW⚡ | …tilities-add-translation/concatenate_language_files.py | 6 | def concatenate_language_files(directory, language_ext): | CODE |
| LOW | …ities-add-translation/verify_concatenation_detailed.py | 6 | def verify_concatenation_detailed(directory, language_ext): | CODE |
| LOW | website/src/scripts/amazonPurchase.ts | 84 | export function initializeAmazonPurchaseOptions(root: HTMLElement) { | CODE |
| LOW | website/src/scripts/plusEditionAnalytics.ts | 61 | function handlePlusEditionAnalyticsClick(event: MouseEvent) { | CODE |
| LOW | website/src/scripts/plusEditionAnalytics.ts | 72 | export function initializePlusEditionAnalytics() { | CODE |
| LOW⚡ | …lls/create-typescript-news/scripts/test_verify_news.py | 38 | def test_mdx_articles_are_checked_but_archive_pages_are_excluded(self): | STRING |
| LOW⚡ | …lls/create-typescript-news/scripts/test_verify_news.py | 44 | def test_invalid_mdx_dates_are_rejected(self): | STRING |
| LOW⚡ | …lls/create-typescript-news/scripts/test_verify_news.py | 49 | def test_missing_mdx_translation_is_reported(self): | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tools/verify-books.py | 5 | CODE | |
| LOW | …tilities-add-translation/concatenate_language_files.py | 2 | CODE | |
| LOW | tools/utilities-add-translation/verify_concatenation.py | 2 | CODE | |
| LOW | …ities-add-translation/verify_concatenation_detailed.py | 2 | CODE | |
| LOW | …s/skills/create-typescript-news/scripts/verify_news.py | 4 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tools/verify-books.py | 90 | CODE | |
| LOW | tools/verify_codeblocks.py | 4 | CODE | |
| LOW | …ols/utilities-add-translation/create_language_files.py | 17 | CODE | |
| LOW | …tilities-add-translation/concatenate_language_files.py | 6 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | …tilities-add-translation/concatenate_language_files.py | 14 | # Check if directory exists | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | website/src/env.d.ts | 1 | /// <reference path="../.astro/types.d.ts" /> | COMMENT |