TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
This report presents the forensic synthetic code analysis of microsoft/TypeScript, a TypeScript project with 109,900 GitHub stars. SynthScan v2.0 examined 4,303,389 lines of code across 50856 source files, recording 10722 pattern matches distributed across 9 syntactic categories. The overall adjusted score of 2.5 places this repository in the Likely human-written band.
The scanner applied 160+ deterministic lexical heuristics, multi-line block detectors, abstract syntax tree depth profilers, and a cross-file Jaccard similarity matrix to construct a statistically normalised synthetic code estimate. All matches are individually weighted by severity coefficient and contextual multiplier before summation, and the resulting headline score is temporally discounted to account for the repository's development history relative to the commercial emergence of large language model coding tooling (November 2022 onward).
This chart maps the temporal evolution of the adjusted synthetic code score across successive scan runs. An upward trajectory indicates ongoing incorporation of AI-generated code or expanding LLM-assisted scaffolding; a stable or declining trajectory may reflect active human refactoring, code removal, or the adoption of stricter authorship policies. The dashed secondary line (right axis) independently tracks total raw pattern hit count, which can diverge from the normalised score when codebase size changes significantly between scans.
Classifies detected patterns by their diagnostic confidence and structural impact. CRITICAL patterns (coefficient 10) represent definitive synthetic signatures — hallucinated imports, explicit LLM attribution metadata — virtually never produced by human authors. HIGH (5) indicates strong structural tells such as cross-file repetition or cross-linguistic idioms. MEDIUM (2) covers recognisable conversational padding and AI-specific vocabulary. LOW (1) captures subtle indicators like tautological comments and generic boilerplate that require density to carry independent signal.
This horizontal bar chart decomposes the repository's raw synthetic code score by top-level directory, allowing you to pinpoint precisely which modules or components carry the highest AI authorship density. Directories with disproportionately high scores relative to their size warrant targeted manual review: concentrated AI signatures often trace back to mass-generated configuration layers, auto-ported test suites, LLM-scaffolded boilerplate classes, or entire subsystems authored under heavy copilot assistance. Use this view to prioritise your human code-review effort.
The scanner identified 10722 distinct pattern matches across 9 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a statistically significant AI authorship indicator. 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 diagnostic confidence level (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — comment-context matches receive a ×1.5 weight because LLMs systematically over-annotate. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier as dense clusters constitute far stronger evidence of synthetic authorship than isolated hits.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tests/cases/projects/InvalidReferences/main.ts | 1 | /// <reference path="main.ts" /> | COMMENT |
| LOW | tests/cases/transpile/declarationSingleFileHasErrors.ts | 1 | // @target: es2015 | COMMENT |
| LOW | …es/transpile/declarationSingleFileHasErrorsReported.ts | 1 | // @target: es2015 | COMMENT |
| LOW | …ases/transpile/declarationSelfReferentialConstraint.ts | 1 | // @target: es2015 | COMMENT |
| LOW | tests/cases/fourslash/extract-method11.ts | 1 | /// <reference path='fourslash.ts' /> | COMMENT |
| LOW | …ourslash/completionsOverridingMethodDefaultExported.ts | 1 | /// <reference path="fourslash.ts" /> | COMMENT |
| LOW | …ses/fourslash/findAllRefsForObjectLiteralProperties.ts | 1 | /// <reference path='fourslash.ts'/> | COMMENT |
| LOW | tests/cases/fourslash/navigationBarFunctionPrototype.ts | 1 | /// <reference path="fourslash.ts"/> | COMMENT |
| LOW | tests/cases/fourslash/completionsImport_keywords.ts | 1 | /// <reference path="fourslash.ts" /> | COMMENT |
| LOW | …odeFixInferFromFunctionThisUsageJsDocNewDocsLiteral.ts | 1 | /// <reference path='fourslash.ts' /> | COMMENT |
| LOW | tests/cases/fourslash/renameJsSpecialAssignmentRhs1.ts | 1 | /// <reference path="fourslash.ts"/> | COMMENT |
| LOW | tests/cases/fourslash/spaceAfterStatementConditions.ts | 1 | /// <reference path="fourslash.ts"/> | COMMENT |
| LOW | …ts/cases/fourslash/referencesForInheritedProperties.ts | 1 | /// <reference path='fourslash.ts'/> | COMMENT |
| LOW | tests/cases/fourslash/codeFixSpellingAddSpaces4.ts | 1 | /// <reference path='fourslash.ts' /> | COMMENT |
| LOW | tests/cases/fourslash/completionsPaths_importType.ts | 1 | /// <reference path="fourslash.ts" /> | COMMENT |
| LOW | …ortCompletionsPackageJsonImportsPattern_capsInPath1.ts | 1 | /// <reference path="fourslash.ts" /> | COMMENT |
| LOW | …fourslash/completionsForRecursiveGenericTypesMember.ts | 1 | /// <reference path="fourslash.ts" /> | COMMENT |
| LOW | …cases/fourslash/quickInfoCommentsFunctionExpression.ts | 1 | /// <reference path='fourslash.ts' /> | COMMENT |
| LOW | …cases/fourslash/quickInfoCommentsFunctionExpression.ts | 21 | /////** | COMMENT |
| LOW | tests/cases/fourslash/renameJsExports03.ts | 1 | /// <reference path='fourslash.ts'/> | COMMENT |
| LOW | tests/cases/fourslash/jsSpecialAssignmentMerging.ts | 1 | /// <reference path="fourslash.ts" /> | COMMENT |
| LOW | tests/cases/fourslash/addVarToConstructor1.ts | 1 | /// <reference path="fourslash.ts" /> | COMMENT |
| LOW | …/cases/fourslash/codeFixDisableJsDiagnosticsInFile9.ts | 1 | /// <reference path='fourslash.ts' /> | COMMENT |
| LOW | tests/cases/fourslash/jsDocFunctionSignatures6.ts | 1 | ///<reference path="fourslash.ts" /> | COMMENT |
| LOW | tests/cases/fourslash/getJavaScriptCompletions12.ts | 1 | ///<reference path="fourslash.ts" /> | COMMENT |
| LOW | …ompletionForStringLiteralRelativeImportAllowJSFalse.ts | 1 | /// <reference path='fourslash.ts' /> | COMMENT |
| LOW | …ompletionForStringLiteralRelativeImportAllowJSFalse.ts | 21 | //// var foo18 = require("..//*require3*/ | COMMENT |
| LOW | tests/cases/fourslash/autoImportTypeOnlyPreferred1.ts | 1 | /// <reference path="fourslash.ts" /> | COMMENT |
| LOW | tests/cases/fourslash/gotoDefinitionSatisfiesTag.ts | 1 | ///<reference path="fourslash.ts" /> | COMMENT |
| LOW | tests/cases/fourslash/underscoreTypings01.ts | 1 | /// <reference path='fourslash.ts'/> | COMMENT |
| LOW | …es/fourslash/codeFixClassExtendAbstractGetterSetter.ts | 1 | /// <reference path='fourslash.ts' /> | COMMENT |
| LOW | …es/fourslash/genericTypeWithMultipleBases1MultiFile.ts | 1 | /// <reference path='fourslash.ts'/> | COMMENT |
| LOW | tests/cases/fourslash/quickInfoLink5.ts | 1 | /// <reference path="fourslash.ts" /> | COMMENT |
| LOW | tests/cases/fourslash/completionListInImportClause06.ts | 1 | /// <reference path='fourslash.ts' /> | COMMENT |
| LOW | tests/cases/fourslash/outliningHintSpansForFunction.ts | 1 | /// <reference path="fourslash.ts"/> | COMMENT |
| LOW | tests/cases/fourslash/tsxCompletion8.ts | 1 | /// <reference path='fourslash.ts' /> | COMMENT |
| LOW | tests/cases/fourslash/jsDocTypeTagQuickInfo1.ts | 1 | /// <reference path="fourslash.ts" /> | COMMENT |
| LOW | tests/cases/fourslash/jsDocTypeTagQuickInfo1.ts | 21 | //// /** @type {Null} */ | COMMENT |
| LOW | tests/cases/fourslash/completionsOverridingMethod9.ts | 1 | /// <reference path="fourslash.ts" /> | COMMENT |
| LOW | …rslash/completionListInTypeLiteralInTypeParameter19.ts | 1 | /// <reference path="fourslash.ts" /> | COMMENT |
| LOW | tests/cases/fourslash/getJavaScriptQuickInfo8.ts | 1 | /// <reference path="fourslash.ts" /> | COMMENT |
| LOW | …cases/fourslash/breakpointValidationTryCatchFinally.ts | 1 | /// <reference path='fourslash.ts' /> | COMMENT |
| LOW | …cases/fourslash/breakpointValidationTryCatchFinally.ts | 21 | //// x = x - 1; | COMMENT |
| LOW | tests/cases/fourslash/syntacticClassifications1.ts | 1 | /// <reference path="fourslash.ts"/> | COMMENT |
| LOW | tests/cases/fourslash/referencesForGlobals4.ts | 1 | /// <reference path='fourslash.ts'/> | COMMENT |
| LOW | tests/cases/fourslash/renameForDefaultExport07.ts | 1 | /// <reference path='fourslash.ts'/> | COMMENT |
| LOW | tests/cases/fourslash/renameImportOfReExport.ts | 1 | /// <reference path='fourslash.ts' /> | COMMENT |
| LOW | tests/cases/fourslash/findAllRefsModuleAugmentation.ts | 1 | /// <reference path='fourslash.ts' /> | COMMENT |
| LOW | tests/cases/fourslash/smartSelection_JSDocTags1.ts | 1 | /// <reference path="fourslash.ts" /> | COMMENT |
| LOW | tests/cases/fourslash/formattingIfInElseBlock.ts | 1 | /// <reference path='fourslash.ts' /> | COMMENT |
| LOW | …sts/cases/fourslash/codeFixConvertToTypeOnlyExport3.ts | 1 | /// <reference path="fourslash.ts" /> | COMMENT |
| LOW | tests/cases/fourslash/formatSelectionWithTrivia.ts | 1 | /// <reference path="fourslash.ts" /> | COMMENT |
| LOW | …urslash/moveToNewFile_aliasDefaultExportNamedImport.ts | 1 | /// <reference path='fourslash.ts' /> | COMMENT |
| LOW | tests/cases/fourslash/findAllRefs_importType_js.3.ts | 1 | /// <reference path='fourslash.ts' /> | COMMENT |
| LOW | tests/cases/fourslash/inlayHintsThisParameter.ts | 1 | /// <reference path="fourslash.ts" /> | COMMENT |
| LOW | …IntrinsicDeclaredUsingTemplateLiteralTypeSignatures.ts | 1 | /// <reference path="fourslash.ts" /> | COMMENT |
| LOW | …h/renameDestructuringAssignmentNestedInArrayLiteral.ts | 1 | /// <reference path='fourslash.ts' /> | COMMENT |
| LOW | …ts/cases/fourslash/goToDefinitionVariableAssignment.ts | 1 | /// <reference path="fourslash.ts" /> | COMMENT |
| LOW | …ourslash/pathCompletionsPackageJsonExportsWildcard8.ts | 1 | /// <reference path="fourslash.ts" /> | COMMENT |
| LOW | …etionListAtIdentifierDefinitionLocations_properties.ts | 1 | /// <reference path='fourslash.ts' /> | COMMENT |
| 5769 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tests/cases/fourslash/fourslash.ts | 892 | declare function verifyOperationIsCancelled(f: any): void; | CODE |
| LOW | tests/cases/fourslash/fourslash.ts | 944 | export function globalsInJsInsideFunction(plus: ReadonlyArray<FourSlashInterface.ExpectedCompletionEntry>, options?: | CODE |
| LOW | tests/cases/fourslash/fourslash.ts | 960 | export function functionMembersWithPrototypePlus(plus: ReadonlyArray<FourSlashInterface.ExpectedCompletionEntry>): R | CODE |
| LOW | …cases/fourslash/jsdocParameterTagSnippetCompletion1.ts | 119 | //// function reallylongfunctionnameabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdef | COMMENT |
| LOW | …lash/navigationBarItemsInsideMethodsAndConstructors.ts | 5 | //// function LocalFunctionInConstructor() {} | COMMENT |
| LOW | …lash/navigationBarItemsInsideMethodsAndConstructors.ts | 12 | //// function LocalFunctionInLocalFunctionInMethod() {} | COMMENT |
| LOW | tests/cases/fourslash/indentationNone.ts | 178 | ////function unterminatedListIndentation(a, | COMMENT |
| LOW | …ourslash/smartIndentOnUnclosedFunctionDeclaration01.ts | 6 | function verifyIndentationAfterNewLine(marker: string, indentation: number): void { | CODE |
| LOW | …ourslash/smartIndentOnUnclosedFunctionDeclaration04.ts | 6 | function verifyIndentationAfterNewLine(marker: string, indentation: number, positionWorkaround: number, expectedText: st | CODE |
| LOW | tests/cases/fourslash/callHierarchyCrossFile.ts | 14 | ////function registerDefaultLanguageCommand() { | COMMENT |
| LOW | tests/cases/fourslash/smartIndentDoStatement.ts | 8 | function verifyIndentationAfterNewLine(marker: string, indentation: number): void { | CODE |
| LOW | tests/cases/fourslash/smartIndentIfStatement.ts | 10 | function verifyIndentationAfterNewLine(marker: string, indentation: number): void { | CODE |
| LOW | …s/cases/fourslash/smartIndentObjectBindingPattern01.ts | 5 | function verifyIndentationAfterNewLine(marker: string, indentation: number): void { | CODE |
| LOW | …ts/cases/fourslash/smartIndentArrayBindingPattern01.ts | 5 | function verifyIndentationAfterNewLine(marker: string, indentation: number): void { | CODE |
| LOW | tests/cases/fourslash/indentation.ts | 178 | ////function unterminatedListIndentation(a, | COMMENT |
| LOW | tests/cases/fourslash/indentationWithBaseIndent.ts | 205 | //// function unterminatedListIndentation(a, | COMMENT |
| LOW | …es/fourslash/extract-method_jsxPreceedingWhitespace.ts | 7 | ////export default function ComponentThatExhibitsIssue() { | COMMENT |
| LOW | …es/fourslash/extract-method_jsxPreceedingWhitespace.ts | 23 | `export default function ComponentThatExhibitsIssue() { | CODE |
| LOW | …ts/cases/fourslash/smartIndentArrayBindingPattern02.ts | 5 | function verifyIndentationAfterNewLine(marker: string, indentation: number): void { | CODE |
| LOW | …es/fourslash/smartIndentInParenthesizedExpression01.ts | 5 | function verifyIndentationAfterNewLine(marker: string, indentation: number): void { | CODE |
| LOW | …s/cases/fourslash/smartIndentObjectBindingPattern02.ts | 5 | function verifyIndentationAfterNewLine(marker: string, indentation: number): void { | CODE |
| LOW | …sh/goToImplementationShorthandPropertyAssignment_01.ts | 34 | //// function createBarUsingClassDeclaration(): Bar { | COMMENT |
| LOW | …ts/cases/fourslash/completionListFunctionExpression.ts | 5 | ////class DataHandler { | COMMENT |
| LOW | tests/cases/fourslash/indentationBlock.ts | 178 | ////function unterminatedListIndentation(a, | COMMENT |
| LOW | …ourslash/smartIndentOnUnclosedFunctionDeclaration03.ts | 6 | function verifyIndentationAfterNewLine(marker: string, indentation: number): void { | CODE |
| LOW | …ourslash/smartIndentOnUnclosedFunctionDeclaration02.ts | 6 | function verifyIndentationAfterNewLine(marker: string, indentation: number): void { | CODE |
| LOW | …ourslash/smartIndentObjectLiteralOpenBracketNewLine.ts | 11 | function verifyIndentationAfterNewLine(marker: string, indentation: number): void { | CODE |
| LOW | …sh/goToImplementationShorthandPropertyAssignment_00.ts | 31 | //// function createBarUsingClassDeclaration(): Bar { | COMMENT |
| LOW | …lash/server/autoImportFileExcludePatterns_symlinks2.ts | 20 | //// export declare function ServerRuntimeMetaFunction(): void; | COMMENT |
| LOW | …slash/server/autoImportFileExcludePatterns_symlinks.ts | 14 | //// export declare function ServerRuntimeMetaFunction(): void; | COMMENT |
| LOW | tests/cases/compiler/APISample_jsdoc.ts | 28 | function parseCommentsIntoDefinition(this: any, | CODE |
| LOW⚡ | tests/cases/compiler/declFileFunctions.ts | 35 | export function fooWithTypePredicateAndMulitpleParams(a: any, b: any, c: any): a is number { | CODE |
| LOW⚡ | tests/cases/compiler/declFileFunctions.ts | 41 | export function fooWithTypeTypePredicateAndRestParam(a: any, ...rest): a is number { | CODE |
| LOW⚡ | tests/cases/compiler/declFileFunctions.ts | 49 | function nonExportedFooWithParameters(/** this is comment about a*/a: string, | CODE |
| LOW⚡ | tests/cases/compiler/declFileFunctions.ts | 54 | function nonExportedFooWithRestParameters(a: string, ...rests: string[]) { | CODE |
| LOW⚡ | tests/cases/compiler/declFileFunctions.ts | 58 | function nonExportedFooWithOverloads(a: string): string; | CODE |
| LOW⚡ | tests/cases/compiler/declFileFunctions.ts | 59 | function nonExportedFooWithOverloads(a: number): number; | CODE |
| LOW⚡ | tests/cases/compiler/declFileFunctions.ts | 60 | function nonExportedFooWithOverloads(a: any): any { | CODE |
| LOW | tests/cases/compiler/declFileFunctions.ts | 74 | function globalfooWithRestParameters(a: string, ...rests: string[]) { | CODE |
| LOW | tests/cases/compiler/inferTypePredicates.ts | 148 | function irrelevantIsNumberDestructuring(x: string | number) { | CODE |
| LOW | tests/cases/compiler/inferTypePredicates.ts | 212 | function doNotRefineDestructuredParam({x, y}: {x: number | null, y: number}) { | CODE |
| LOW | tests/cases/compiler/moduleVisibilityTest2.ts | 9 | export function someExportedOuterInnerFunc() { return "foo"; } | CODE |
| LOW | tests/cases/compiler/nonNullFullInference.ts | 20 | function testNonNullInferenceWithArrays(numbers: number[]) { | CODE |
| LOW | …iler/privacyFunctionCannotNameParameterTypeDeclFile.ts | 107 | export function publicFunctionWithPrivateParmeterTypes(param = exporter.createExportedWidget1()) { // Error | CODE |
| LOW | …iler/privacyFunctionCannotNameParameterTypeDeclFile.ts | 109 | function privateFunctionWithPrivateParmeterTypes(param = exporter.createExportedWidget1()) { | CODE |
| LOW | …iler/privacyFunctionCannotNameParameterTypeDeclFile.ts | 133 | export function publicFunctionWithPrivateModuleParameterTypes(param= exporter.createExportedWidget2()) { // Error | CODE |
| LOW | …iler/privacyFunctionCannotNameParameterTypeDeclFile.ts | 155 | function privateFunctionWithPrivateModuleParameterTypes(param= exporter.createExportedWidget2()) { | CODE |
| LOW | …r/defaultParameterAddsUndefinedWithStrictNullChecks.ts | 47 | function removeUndefinedButNotFalse(x = true) { | CODE |
| LOW | tests/cases/compiler/inKeywordTypeguard.ts | 26 | function positiveTestClassesWithOptionalProperties(x: AWithOptionalProp | BWithOptionalProp) { | CODE |
| LOW | tests/cases/compiler/inKeywordTypeguard.ts | 42 | function negativeTestClassesWithMembers(x: AWithMethod | BWithMethod) { | CODE |
| LOW | tests/cases/compiler/inKeywordTypeguard.ts | 50 | function negativeTestClassesWithMemberMissingInBothClasses(x: AWithMethod | BWithMethod) { | CODE |
| LOW | tests/cases/compiler/inKeywordTypeguard.ts | 63 | function negativeMultipleClassesTest(x: A | B | C | D) { | CODE |
| LOW | …piler/isolatedDeclarationErrorsFunctionDeclarations.ts | 13 | export function noParamAnnotationBadDefault(p = 1 + 1, p2 = { a: 1 + 1 }, p3 = [1 + 1] as const): void {} | CODE |
| LOW | …cases/compiler/declarationEmitBindingPatternsUnused.ts | 35 | function referencedInSignartureKeyword({ function: alias }: { function: string }): typeof alias { | CODE |
| LOW | …cases/compiler/declarationEmitBindingPatternsUnused.ts | 44 | function referencedInNestedFunction({ name: alias }: Named) { | CODE |
| LOW | …s/cases/compiler/declarationEmitCastReusesTypeNode1.ts | 14 | export function fnWithRequiredDefaultParam(p = null! as P, req: number) {} | CODE |
| LOW | …s/cases/compiler/declarationEmitCastReusesTypeNode1.ts | 32 | export function fnWithPartialAnnotationOnDefaultparam(x: P = null! as P, b: number) {} | CODE |
| LOW | tests/cases/compiler/narrowingUnionToUnion.ts | 210 | function assertRelationIsNullOrStringArray(v: (string | number)[] | null): asserts v is string[] | null {} | CODE |
| LOW | …ompiler/privacyFunctionCannotNameReturnTypeDeclFile.ts | 111 | export function publicFunctionWithPrivateParmeterTypes() { // Error | CODE |
| LOW | …ompiler/privacyFunctionCannotNameReturnTypeDeclFile.ts | 114 | function privateFunctionWithPrivateParmeterTypes() { | CODE |
| 4695 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | …ompiler/declarationEmitEnumReferenceViaImportEquals.ts | 26 | print() { | CODE |
| HIGH | …ts/cases/compiler/reachabilityCheckWithEmptyDefault.ts | 8 | print('1'); | CODE |
| HIGH | …sts/cases/conformance/classes/mixinClassesAnnotated.ts | 17 | print(): void; | CODE |
| HIGH | …sts/cases/conformance/classes/mixinClassesAnnotated.ts | 23 | print() { | CODE |
| HIGH | …sts/cases/conformance/classes/mixinClassesAnonymous.ts | 16 | print() { | CODE |
| HIGH | …onformance/dynamicImport/importCallExpressionInCJS3.ts | 5 | print() { return "I am B"} | CODE |
| HIGH | …ormance/dynamicImport/importCallExpressionInSystem2.ts | 5 | print() { return "I am B"} | CODE |
| HIGH | …nformance/dynamicImport/importCallExpression3ES2020.ts | 5 | print() { return "I am B"} | CODE |
| HIGH | …nformance/dynamicImport/importCallExpression2ES2020.ts | 5 | print() { return "I am B"} | CODE |
| HIGH | …ormance/dynamicImport/importCallExpressionInSystem3.ts | 5 | print() { return "I am B"} | CODE |
| HIGH | …onformance/dynamicImport/importCallExpressionInUMD4.ts | 6 | print() { return "I am B"} | CODE |
| HIGH | …onformance/dynamicImport/importCallExpressionInAMD2.ts | 5 | print() { return "I am B"} | CODE |
| HIGH | …nformance/dynamicImport/importCallExpression4ES2020.ts | 6 | print() { return "I am B"} | CODE |
| HIGH | …nformance/dynamicImport/importCallExpression5ES2020.ts | 6 | print() { return "I am B"} | CODE |
| HIGH | …onformance/dynamicImport/importCallExpressionInAMD3.ts | 5 | print() { return "I am B"} | CODE |
| HIGH | …micImport/importCallExpressionNoModuleKindSpecified.ts | 6 | print() { return "I am B"} | CODE |
| HIGH | …onformance/dynamicImport/importCallExpressionInAMD4.ts | 7 | print() { return "I am B"} | CODE |
| HIGH | …ormance/dynamicImport/importCallExpressionInSystem4.ts | 7 | print() { return "I am B"} | CODE |
| HIGH | …onformance/dynamicImport/importCallExpressionInCJS5.ts | 7 | print() { return "I am B"} | CODE |
| HIGH | …onformance/dynamicImport/importCallExpressionInUMD3.ts | 5 | print() { return "I am B"} | CODE |
| HIGH | …nformance/dynamicImport/importCallExpression6ES2020.ts | 5 | print() { return "I am B"} | CODE |
| HIGH | …onformance/dynamicImport/importCallExpressionInCJS4.ts | 5 | print() { return "I am B"} | CODE |
| HIGH | …onformance/dynamicImport/importCallExpressionInUMD2.ts | 5 | print() { return "I am B"} | CODE |
| HIGH | tests/baselines/reference/importCallExpressionInAMD4.js | 5 | print() { return "I am B"} | CODE |
| HIGH | tests/baselines/reference/importCallExpressionInAMD4.js | 50 | print() { return "I am B"; } | CODE |
| HIGH | tests/baselines/reference/mixinClassesAnonymous.js | 18 | print() { | CODE |
| HIGH | tests/baselines/reference/mixinClassesAnonymous.js | 85 | print() { | CODE |
| HIGH | tests/baselines/reference/importCallExpressionInCJS4.js | 5 | print() { return "I am B"} | CODE |
| HIGH | tests/baselines/reference/importCallExpressionInCJS4.js | 21 | print() { return "I am B"; } | CODE |
| HIGH | tests/baselines/reference/importCallExpressionInUMD2.js | 5 | print() { return "I am B"} | CODE |
| HIGH | tests/baselines/reference/importCallExpressionInUMD2.js | 33 | print() { return "I am B"; } | CODE |
| HIGH | …s/baselines/reference/importCallExpressionInSystem4.js | 5 | print() { return "I am B"} | CODE |
| HIGH | …s/baselines/reference/importCallExpressionInSystem4.js | 54 | print() { return "I am B"; } | CODE |
| HIGH | tests/baselines/reference/importCallExpressionInCJS5.js | 5 | print() { return "I am B"} | CODE |
| HIGH | tests/baselines/reference/importCallExpressionInCJS5.js | 49 | print() { return "I am B"; } | CODE |
| HIGH | tests/baselines/reference/importCallExpressionInUMD3.js | 5 | print() { return "I am B"} | CODE |
| HIGH | tests/baselines/reference/importCallExpressionInUMD3.js | 30 | print() { return "I am B"; } | CODE |
| HIGH | …sts/baselines/reference/importCallExpression6ES2020.js | 5 | print() { return "I am B"} | CODE |
| HIGH | …sts/baselines/reference/importCallExpression6ES2020.js | 24 | print() { return "I am B"; } | CODE |
| HIGH | tests/baselines/reference/parserRealSource11.js | 2479 | print(context) { | CODE |
| HIGH | …s/baselines/reference/importCallExpressionInSystem3.js | 5 | print() { return "I am B"} | CODE |
| HIGH | …s/baselines/reference/importCallExpressionInSystem3.js | 25 | print() { return "I am B"; } | CODE |
| HIGH | tests/baselines/reference/importCallExpressionInUMD4.js | 5 | print() { return "I am B"} | CODE |
| HIGH | tests/baselines/reference/importCallExpressionInUMD4.js | 58 | print() { return "I am B"; } | CODE |
| HIGH | tests/baselines/reference/importCallExpressionInCJS3.js | 5 | print() { return "I am B"} | CODE |
| HIGH | tests/baselines/reference/importCallExpressionInCJS3.js | 24 | print() { return "I am B"; } | CODE |
| HIGH | …s/baselines/reference/importCallExpressionInSystem2.js | 5 | print() { return "I am B"} | CODE |
| HIGH | …s/baselines/reference/importCallExpressionInSystem2.js | 28 | print() { return "I am B"; } | CODE |
| HIGH | …sts/baselines/reference/importCallExpression2ES2020.js | 5 | print() { return "I am B"} | CODE |
| HIGH | …sts/baselines/reference/importCallExpression2ES2020.js | 21 | print() { return "I am B"; } | CODE |
| HIGH | …sts/baselines/reference/importCallExpression3ES2020.js | 5 | print() { return "I am B"} | CODE |
| HIGH | …sts/baselines/reference/importCallExpression3ES2020.js | 19 | print() { return "I am B"; } | CODE |
| HIGH | tests/baselines/reference/parserRealSource10.js | 798 | print(line, outfile) { | CODE |
| HIGH | …sts/baselines/reference/importCallExpression5ES2020.js | 5 | print() { return "I am B"} | CODE |
| HIGH | …sts/baselines/reference/importCallExpression5ES2020.js | 24 | print() { return "I am B"; } | CODE |
| HIGH | …sts/baselines/reference/importCallExpression4ES2020.js | 5 | print() { return "I am B"} | CODE |
| HIGH | …sts/baselines/reference/importCallExpression4ES2020.js | 32 | print() { return "I am B"; } | CODE |
| HIGH | tests/baselines/reference/importCallExpressionInAMD3.js | 5 | print() { return "I am B"} | CODE |
| HIGH | tests/baselines/reference/importCallExpressionInAMD3.js | 22 | print() { return "I am B"; } | CODE |
| HIGH | …reference/importCallExpressionNoModuleKindSpecified.js | 5 | print() { return "I am B"} | CODE |
| 16 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| CRITICAL | …es/conformance/parser/ecmascript5/parserRealSource7.ts | 552 | if (!context.scopeChain.classType.members.publicMembers.add(varDecl.id.text, fieldSymbol)) { | CODE |
| CRITICAL⚡ | …nce/deeplyNestedAssignabilityErrorsCombined.errors.txt | 2 | The types of 'a.b.c.d.e.f().g' are incompatible between these types. | CODE |
| CRITICAL⚡ | …nce/deeplyNestedAssignabilityErrorsCombined.errors.txt | 5 | The types of '(new a.b.c.d.e.f()).g' are incompatible between these types. | CODE |
| CRITICAL⚡ | …nce/deeplyNestedAssignabilityErrorsCombined.errors.txt | 15 | !!! error TS2322: The types of 'a.b.c.d.e.f().g' are incompatible between these types. | CODE |
| CRITICAL | …nce/deeplyNestedAssignabilityErrorsCombined.errors.txt | 31 | !!! error TS2322: The types of '(new a.b.c.d.e.f()).g' are incompatible between these types. | CODE |
| CRITICAL | tests/baselines/reference/parserRealSource7.js | 554 | if (!context.scopeChain.classType.members.publicMembers.add(varDecl.id.text, fieldSymbol)) { | CODE |
| CRITICAL | tests/baselines/reference/parserRealSource7.js | 1274 | if (!context.scopeChain.classType.members.publicMembers.add(varDecl.id.text, fieldSymbol)) { | CODE |
| CRITICAL | tests/baselines/reference/parserRealSource7.errors.txt | 1318 | if (!context.scopeChain.classType.members.publicMembers.add(varDecl.id.text, fieldSymbol)) { | CODE |
| CRITICAL | src/services/callHierarchy.ts | 266 | return node.parent.parent.parent.parent.parent.name.getText(); | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | …tExportAssignedNamespaceNoTripleSlashTypesReference.ts | 33 | // This issue (#35343) _only_ reproduces in the test harness when the file in question is in a subfolder | COMMENT |
| MEDIUM | …es/members/privateNames/privateNamesAndStaticFields.ts | 23 | // We will need a more robust solution when we support static fields | COMMENT |
| MEDIUM | …conformance/controlFlow/exhaustiveSwitchStatements1.ts | 25 | z; // Definitely assigned | CODE |
| MEDIUM | …sts/baselines/reference/exhaustiveSwitchStatements1.js | 23 | z; // Definitely assigned | CODE |
| MEDIUM | …sts/baselines/reference/exhaustiveSwitchStatements1.js | 278 | z; // Definitely assigned | CODE |
| MEDIUM | …sts/baselines/reference/privateNamesAndStaticFields.js | 23 | // We will need a more robust solution when we support static fields | COMMENT |
| MEDIUM | …sts/baselines/reference/privateNamesAndStaticFields.js | 60 | // We will need a more robust solution when we support static fields | COMMENT |
| MEDIUM | …tExportAssignedNamespaceNoTripleSlashTypesReference.js | 32 | // This issue (#35343) _only_ reproduces in the test harness when the file in question is in a subfolder | COMMENT |
| MEDIUM | …tExportAssignedNamespaceNoTripleSlashTypesReference.js | 53 | // This issue (#35343) _only_ reproduces in the test harness when the file in question is in a subfolder | COMMENT |
| MEDIUM | src/compiler/performance.ts | 186 | // to be able to leverage native trace events when node is run with either `--cpu-prof` | COMMENT |
| MEDIUM | src/compiler/parser.ts | 5247 | // Definitely not a parenthesized arrow function. | COMMENT |
| MEDIUM | src/compiler/transformers/esDecorators.ts | 993 | // We use `var` instead of `let` so we can leverage NamedEvaluation to define the class name | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …ArrowFunctionOrFunctionExpression_ToAnon_FnArgument.ts | 3 | //// function doSomething(a){} | COMMENT |
| LOW | …ArrowFunctionOrFunctionExpression_ToAnon_FnArgument.ts | 11 | newContent: `function doSomething(a){} | CODE |
| LOW | tests/cases/compiler/differentTypesWithSameName.ts | 6 | export function doSomething(v: m.variable) { | CODE |
| LOW | tests/cases/compiler/implicitConstParameters.ts | 4 | function doSomething(cb: () => void) { | CODE |
| LOW | …es/compiler/readonlyPropertySubtypeRelationDirected.ts | 9 | function doSomething(condition: boolean) { | CODE |
| LOW | …es/compiler/readonlyPropertySubtypeRelationDirected.ts | 28 | function doSomething(condition: boolean) { | CODE |
| LOW | …es/compiler/readonlyPropertySubtypeRelationDirected.ts | 48 | function doSomething(condition: boolean) { | CODE |
| LOW | …es/compiler/readonlyPropertySubtypeRelationDirected.ts | 68 | function doSomething(condition: boolean) { | CODE |
| LOW | …compiler/functionExpressionAndLambdaMatchesFunction.ts | 5 | function doSomething(a: Function) { | CODE |
| LOW | tests/cases/compiler/weakType.ts | 14 | function doSomething(settings: Settings) { /* ... */ } | CODE |
| LOW | …eference/functionExpressionAndLambdaMatchesFunction.js | 6 | function doSomething(a: Function) { | CODE |
| LOW | …eference/functionExpressionAndLambdaMatchesFunction.js | 18 | function doSomething(a) { | CODE |
| LOW | tests/baselines/reference/weakType.js | 16 | function doSomething(settings: Settings) { /* ... */ } | CODE |
| LOW | tests/baselines/reference/weakType.js | 74 | function doSomething(settings) { } | CODE |
| LOW | tests/baselines/reference/implicitConstParameters.js | 4 | function doSomething(cb: () => void) { | CODE |
| LOW | tests/baselines/reference/implicitConstParameters.js | 62 | function doSomething(cb) { | CODE |
| LOW | …s/reference/readonlyPropertySubtypeRelationDirected.js | 9 | function doSomething(condition: boolean) { | CODE |
| LOW | …s/reference/readonlyPropertySubtypeRelationDirected.js | 28 | function doSomething(condition: boolean) { | CODE |
| LOW | …s/reference/readonlyPropertySubtypeRelationDirected.js | 48 | function doSomething(condition: boolean) { | CODE |
| LOW | …s/reference/readonlyPropertySubtypeRelationDirected.js | 68 | function doSomething(condition: boolean) { | CODE |
| LOW | …s/reference/readonlyPropertySubtypeRelationDirected.js | 86 | function doSomething(condition) { | CODE |
| LOW | …s/reference/readonlyPropertySubtypeRelationDirected.js | 101 | function doSomething(condition) { | CODE |
| LOW | …s/reference/readonlyPropertySubtypeRelationDirected.js | 116 | function doSomething(condition) { | CODE |
| LOW | …s/reference/readonlyPropertySubtypeRelationDirected.js | 131 | function doSomething(condition) { | CODE |
| LOW | tests/baselines/reference/differentTypesWithSameName.js | 8 | export function doSomething(v: m.variable) { | CODE |
| LOW | tests/baselines/reference/differentTypesWithSameName.js | 28 | function doSomething(v) { | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM⚡ | .github/workflows/codeql.yml | 13 | # ┌───────────── minute (0 - 59) | COMMENT |
| MEDIUM⚡ | .github/workflows/codeql.yml | 14 | # │ ┌───────────── hour (0 - 23) | COMMENT |
| MEDIUM⚡ | .github/workflows/codeql.yml | 15 | # │ │ ┌───────────── day of the month (1 - 31) | COMMENT |
| MEDIUM⚡ | .github/workflows/codeql.yml | 16 | # │ │ │ ┌───────────── month (1 - 12 or JAN-DEC) | COMMENT |
| MEDIUM⚡ | .github/workflows/codeql.yml | 17 | # │ │ │ │ ┌───────────── day of the week (0 - 6 or SUN-SAT) | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tests/cases/fourslash/importNameCodeFix_typeOnly3.ts | 11 | //// return document.createElement("placeholder"); | COMMENT |
| LOW | …/compiler/jsxComplexSignatureHasApplicabilityError.tsx | 255 | placeholder: ReactSelectProps<TValue>['placeholder']; | CODE |
| LOW | …/reference/jsxComplexSignatureHasApplicabilityError.js | 254 | placeholder: ReactSelectProps<TValue>['placeholder']; | CODE |
| LOW | …hIncreased/amd/nodeModulesMaxDepthIncreased.errors.txt | 22 | "name": "John Doe", | CODE |
| LOW | …Increased/node/nodeModulesMaxDepthIncreased.errors.txt | 19 | "name": "John Doe", | CODE |
| LOW | …lesImportHigher/amd/nodeModulesImportHigher.errors.txt | 45 | "name": "John Doe", | CODE |
| LOW | …esImportHigher/node/nodeModulesImportHigher.errors.txt | 42 | "name": "John Doe", | CODE |
| LOW | src/testRunner/unittests/services/colorization.ts | 146 | testLexicalClassification("LOREM IPSUM DOLOR ", ts.EndOfLineState.InMultiLineCommentTrivia, comment("LOREM | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | src/compiler/symbolWalker.ts | 205 | // So to get the intervening symbols, we need to check if there's a type | COMMENT |
| LOW | src/services/refactors/convertImport.ts | 227 | // We need to check if the preferred namespace name (`preferredName`) we'd like to use in the refactored code wi | COMMENT |