TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
10713 matches across 9 categories. Click a row to expand file-level details.
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | tests/cases/projects/InvalidReferences/main.ts | 1 | /// <reference path="main.ts" /> |
| LOW | tests/cases/transpile/declarationSingleFileHasErrors.ts | 1 | // @target: es2015 |
| LOW | …es/transpile/declarationSingleFileHasErrorsReported.ts | 1 | // @target: es2015 |
| LOW | …ases/transpile/declarationSelfReferentialConstraint.ts | 1 | // @target: es2015 |
| LOW | tests/cases/fourslash/extract-method11.ts | 1 | /// <reference path='fourslash.ts' /> |
| LOW | …ourslash/completionsOverridingMethodDefaultExported.ts | 1 | /// <reference path="fourslash.ts" /> |
| LOW | …ses/fourslash/findAllRefsForObjectLiteralProperties.ts | 1 | /// <reference path='fourslash.ts'/> |
| LOW | tests/cases/fourslash/navigationBarFunctionPrototype.ts | 1 | /// <reference path="fourslash.ts"/> |
| LOW | tests/cases/fourslash/completionsImport_keywords.ts | 1 | /// <reference path="fourslash.ts" /> |
| LOW | …odeFixInferFromFunctionThisUsageJsDocNewDocsLiteral.ts | 1 | /// <reference path='fourslash.ts' /> |
| LOW | tests/cases/fourslash/renameJsSpecialAssignmentRhs1.ts | 1 | /// <reference path="fourslash.ts"/> |
| LOW | tests/cases/fourslash/spaceAfterStatementConditions.ts | 1 | /// <reference path="fourslash.ts"/> |
| LOW | …ts/cases/fourslash/referencesForInheritedProperties.ts | 1 | /// <reference path='fourslash.ts'/> |
| LOW | tests/cases/fourslash/codeFixSpellingAddSpaces4.ts | 1 | /// <reference path='fourslash.ts' /> |
| LOW | tests/cases/fourslash/completionsPaths_importType.ts | 1 | /// <reference path="fourslash.ts" /> |
| LOW | …ortCompletionsPackageJsonImportsPattern_capsInPath1.ts | 1 | /// <reference path="fourslash.ts" /> |
| LOW | …fourslash/completionsForRecursiveGenericTypesMember.ts | 1 | /// <reference path="fourslash.ts" /> |
| LOW | …cases/fourslash/quickInfoCommentsFunctionExpression.ts | 1 | /// <reference path='fourslash.ts' /> |
| LOW | …cases/fourslash/quickInfoCommentsFunctionExpression.ts | 21 | /////** |
| LOW | tests/cases/fourslash/renameJsExports03.ts | 1 | /// <reference path='fourslash.ts'/> |
| LOW | tests/cases/fourslash/jsSpecialAssignmentMerging.ts | 1 | /// <reference path="fourslash.ts" /> |
| LOW | tests/cases/fourslash/addVarToConstructor1.ts | 1 | /// <reference path="fourslash.ts" /> |
| LOW | …/cases/fourslash/codeFixDisableJsDiagnosticsInFile9.ts | 1 | /// <reference path='fourslash.ts' /> |
| LOW | tests/cases/fourslash/jsDocFunctionSignatures6.ts | 1 | ///<reference path="fourslash.ts" /> |
| LOW | tests/cases/fourslash/getJavaScriptCompletions12.ts | 1 | ///<reference path="fourslash.ts" /> |
| LOW | …ompletionForStringLiteralRelativeImportAllowJSFalse.ts | 1 | /// <reference path='fourslash.ts' /> |
| LOW | …ompletionForStringLiteralRelativeImportAllowJSFalse.ts | 21 | //// var foo18 = require("..//*require3*/ |
| LOW | tests/cases/fourslash/autoImportTypeOnlyPreferred1.ts | 1 | /// <reference path="fourslash.ts" /> |
| LOW | tests/cases/fourslash/gotoDefinitionSatisfiesTag.ts | 1 | ///<reference path="fourslash.ts" /> |
| LOW | tests/cases/fourslash/underscoreTypings01.ts | 1 | /// <reference path='fourslash.ts'/> |
| LOW | …es/fourslash/codeFixClassExtendAbstractGetterSetter.ts | 1 | /// <reference path='fourslash.ts' /> |
| LOW | …es/fourslash/genericTypeWithMultipleBases1MultiFile.ts | 1 | /// <reference path='fourslash.ts'/> |
| LOW | tests/cases/fourslash/quickInfoLink5.ts | 1 | /// <reference path="fourslash.ts" /> |
| LOW | tests/cases/fourslash/completionListInImportClause06.ts | 1 | /// <reference path='fourslash.ts' /> |
| LOW | tests/cases/fourslash/outliningHintSpansForFunction.ts | 1 | /// <reference path="fourslash.ts"/> |
| LOW | tests/cases/fourslash/tsxCompletion8.ts | 1 | /// <reference path='fourslash.ts' /> |
| LOW | tests/cases/fourslash/jsDocTypeTagQuickInfo1.ts | 1 | /// <reference path="fourslash.ts" /> |
| LOW | tests/cases/fourslash/jsDocTypeTagQuickInfo1.ts | 21 | //// /** @type {Null} */ |
| LOW | tests/cases/fourslash/completionsOverridingMethod9.ts | 1 | /// <reference path="fourslash.ts" /> |
| LOW | …rslash/completionListInTypeLiteralInTypeParameter19.ts | 1 | /// <reference path="fourslash.ts" /> |
| LOW | tests/cases/fourslash/getJavaScriptQuickInfo8.ts | 1 | /// <reference path="fourslash.ts" /> |
| LOW | …cases/fourslash/breakpointValidationTryCatchFinally.ts | 1 | /// <reference path='fourslash.ts' /> |
| LOW | …cases/fourslash/breakpointValidationTryCatchFinally.ts | 21 | //// x = x - 1; |
| LOW | tests/cases/fourslash/syntacticClassifications1.ts | 1 | /// <reference path="fourslash.ts"/> |
| LOW | tests/cases/fourslash/referencesForGlobals4.ts | 1 | /// <reference path='fourslash.ts'/> |
| LOW | tests/cases/fourslash/renameForDefaultExport07.ts | 1 | /// <reference path='fourslash.ts'/> |
| LOW | tests/cases/fourslash/renameImportOfReExport.ts | 1 | /// <reference path='fourslash.ts' /> |
| LOW | tests/cases/fourslash/findAllRefsModuleAugmentation.ts | 1 | /// <reference path='fourslash.ts' /> |
| LOW | tests/cases/fourslash/smartSelection_JSDocTags1.ts | 1 | /// <reference path="fourslash.ts" /> |
| LOW | tests/cases/fourslash/formattingIfInElseBlock.ts | 1 | /// <reference path='fourslash.ts' /> |
| LOW | …sts/cases/fourslash/codeFixConvertToTypeOnlyExport3.ts | 1 | /// <reference path="fourslash.ts" /> |
| LOW | tests/cases/fourslash/formatSelectionWithTrivia.ts | 1 | /// <reference path="fourslash.ts" /> |
| LOW | …urslash/moveToNewFile_aliasDefaultExportNamedImport.ts | 1 | /// <reference path='fourslash.ts' /> |
| LOW | tests/cases/fourslash/findAllRefs_importType_js.3.ts | 1 | /// <reference path='fourslash.ts' /> |
| LOW | tests/cases/fourslash/inlayHintsThisParameter.ts | 1 | /// <reference path="fourslash.ts" /> |
| LOW | …IntrinsicDeclaredUsingTemplateLiteralTypeSignatures.ts | 1 | /// <reference path="fourslash.ts" /> |
| LOW | …h/renameDestructuringAssignmentNestedInArrayLiteral.ts | 1 | /// <reference path='fourslash.ts' /> |
| LOW | …ts/cases/fourslash/goToDefinitionVariableAssignment.ts | 1 | /// <reference path="fourslash.ts" /> |
| LOW | …ourslash/pathCompletionsPackageJsonExportsWildcard8.ts | 1 | /// <reference path="fourslash.ts" /> |
| LOW | …etionListAtIdentifierDefinitionLocations_properties.ts | 1 | /// <reference path='fourslash.ts' /> |
| 5769 more matches not shown… | |||
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | tests/cases/fourslash/fourslash.ts | 892 | declare function verifyOperationIsCancelled(f: any): void; |
| LOW | tests/cases/fourslash/fourslash.ts | 944 | export function globalsInJsInsideFunction(plus: ReadonlyArray<FourSlashInterface.ExpectedCompletionEntry>, options?: |
| LOW | tests/cases/fourslash/fourslash.ts | 960 | export function functionMembersWithPrototypePlus(plus: ReadonlyArray<FourSlashInterface.ExpectedCompletionEntry>): R |
| LOW | …cases/fourslash/jsdocParameterTagSnippetCompletion1.ts | 119 | //// function reallylongfunctionnameabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdef |
| LOW | …lash/navigationBarItemsInsideMethodsAndConstructors.ts | 5 | //// function LocalFunctionInConstructor() {} |
| LOW | …lash/navigationBarItemsInsideMethodsAndConstructors.ts | 12 | //// function LocalFunctionInLocalFunctionInMethod() {} |
| LOW | tests/cases/fourslash/indentationNone.ts | 178 | ////function unterminatedListIndentation(a, |
| LOW | …ourslash/smartIndentOnUnclosedFunctionDeclaration01.ts | 6 | function verifyIndentationAfterNewLine(marker: string, indentation: number): void { |
| LOW | …ourslash/smartIndentOnUnclosedFunctionDeclaration04.ts | 6 | function verifyIndentationAfterNewLine(marker: string, indentation: number, positionWorkaround: number, expectedText: st |
| LOW | tests/cases/fourslash/callHierarchyCrossFile.ts | 14 | ////function registerDefaultLanguageCommand() { |
| LOW | tests/cases/fourslash/smartIndentDoStatement.ts | 8 | function verifyIndentationAfterNewLine(marker: string, indentation: number): void { |
| LOW | tests/cases/fourslash/smartIndentIfStatement.ts | 10 | function verifyIndentationAfterNewLine(marker: string, indentation: number): void { |
| LOW | …s/cases/fourslash/smartIndentObjectBindingPattern01.ts | 5 | function verifyIndentationAfterNewLine(marker: string, indentation: number): void { |
| LOW | …ts/cases/fourslash/smartIndentArrayBindingPattern01.ts | 5 | function verifyIndentationAfterNewLine(marker: string, indentation: number): void { |
| LOW | tests/cases/fourslash/indentation.ts | 178 | ////function unterminatedListIndentation(a, |
| LOW | tests/cases/fourslash/indentationWithBaseIndent.ts | 205 | //// function unterminatedListIndentation(a, |
| LOW | …es/fourslash/extract-method_jsxPreceedingWhitespace.ts | 7 | ////export default function ComponentThatExhibitsIssue() { |
| LOW | …es/fourslash/extract-method_jsxPreceedingWhitespace.ts | 23 | `export default function ComponentThatExhibitsIssue() { |
| LOW | …ts/cases/fourslash/smartIndentArrayBindingPattern02.ts | 5 | function verifyIndentationAfterNewLine(marker: string, indentation: number): void { |
| LOW | …es/fourslash/smartIndentInParenthesizedExpression01.ts | 5 | function verifyIndentationAfterNewLine(marker: string, indentation: number): void { |
| LOW | …s/cases/fourslash/smartIndentObjectBindingPattern02.ts | 5 | function verifyIndentationAfterNewLine(marker: string, indentation: number): void { |
| LOW | …sh/goToImplementationShorthandPropertyAssignment_01.ts | 34 | //// function createBarUsingClassDeclaration(): Bar { |
| LOW | …ts/cases/fourslash/completionListFunctionExpression.ts | 5 | ////class DataHandler { |
| LOW | tests/cases/fourslash/indentationBlock.ts | 178 | ////function unterminatedListIndentation(a, |
| LOW | …ourslash/smartIndentOnUnclosedFunctionDeclaration03.ts | 6 | function verifyIndentationAfterNewLine(marker: string, indentation: number): void { |
| LOW | …ourslash/smartIndentOnUnclosedFunctionDeclaration02.ts | 6 | function verifyIndentationAfterNewLine(marker: string, indentation: number): void { |
| LOW | …ourslash/smartIndentObjectLiteralOpenBracketNewLine.ts | 11 | function verifyIndentationAfterNewLine(marker: string, indentation: number): void { |
| LOW | …sh/goToImplementationShorthandPropertyAssignment_00.ts | 31 | //// function createBarUsingClassDeclaration(): Bar { |
| LOW | …lash/server/autoImportFileExcludePatterns_symlinks2.ts | 20 | //// export declare function ServerRuntimeMetaFunction(): void; |
| LOW | …slash/server/autoImportFileExcludePatterns_symlinks.ts | 14 | //// export declare function ServerRuntimeMetaFunction(): void; |
| LOW | tests/cases/compiler/APISample_jsdoc.ts | 28 | function parseCommentsIntoDefinition(this: any, |
| LOW | tests/cases/compiler/declFileFunctions.ts | 35 | export function fooWithTypePredicateAndMulitpleParams(a: any, b: any, c: any): a is number { |
| LOW | tests/cases/compiler/declFileFunctions.ts | 41 | export function fooWithTypeTypePredicateAndRestParam(a: any, ...rest): a is number { |
| LOW | tests/cases/compiler/declFileFunctions.ts | 49 | function nonExportedFooWithParameters(/** this is comment about a*/a: string, |
| LOW | tests/cases/compiler/declFileFunctions.ts | 54 | function nonExportedFooWithRestParameters(a: string, ...rests: string[]) { |
| LOW | tests/cases/compiler/declFileFunctions.ts | 58 | function nonExportedFooWithOverloads(a: string): string; |
| LOW | tests/cases/compiler/declFileFunctions.ts | 59 | function nonExportedFooWithOverloads(a: number): number; |
| LOW | tests/cases/compiler/declFileFunctions.ts | 60 | function nonExportedFooWithOverloads(a: any): any { |
| LOW | tests/cases/compiler/declFileFunctions.ts | 74 | function globalfooWithRestParameters(a: string, ...rests: string[]) { |
| LOW | tests/cases/compiler/inferTypePredicates.ts | 148 | function irrelevantIsNumberDestructuring(x: string | number) { |
| LOW | tests/cases/compiler/inferTypePredicates.ts | 212 | function doNotRefineDestructuredParam({x, y}: {x: number | null, y: number}) { |
| LOW | tests/cases/compiler/moduleVisibilityTest2.ts | 9 | export function someExportedOuterInnerFunc() { return "foo"; } |
| LOW | tests/cases/compiler/nonNullFullInference.ts | 20 | function testNonNullInferenceWithArrays(numbers: number[]) { |
| LOW | …iler/privacyFunctionCannotNameParameterTypeDeclFile.ts | 107 | export function publicFunctionWithPrivateParmeterTypes(param = exporter.createExportedWidget1()) { // Error |
| LOW | …iler/privacyFunctionCannotNameParameterTypeDeclFile.ts | 109 | function privateFunctionWithPrivateParmeterTypes(param = exporter.createExportedWidget1()) { |
| LOW | …iler/privacyFunctionCannotNameParameterTypeDeclFile.ts | 133 | export function publicFunctionWithPrivateModuleParameterTypes(param= exporter.createExportedWidget2()) { // Error |
| LOW | …iler/privacyFunctionCannotNameParameterTypeDeclFile.ts | 155 | function privateFunctionWithPrivateModuleParameterTypes(param= exporter.createExportedWidget2()) { |
| LOW | …r/defaultParameterAddsUndefinedWithStrictNullChecks.ts | 47 | function removeUndefinedButNotFalse(x = true) { |
| LOW | tests/cases/compiler/inKeywordTypeguard.ts | 26 | function positiveTestClassesWithOptionalProperties(x: AWithOptionalProp | BWithOptionalProp) { |
| LOW | tests/cases/compiler/inKeywordTypeguard.ts | 42 | function negativeTestClassesWithMembers(x: AWithMethod | BWithMethod) { |
| LOW | tests/cases/compiler/inKeywordTypeguard.ts | 50 | function negativeTestClassesWithMemberMissingInBothClasses(x: AWithMethod | BWithMethod) { |
| LOW | tests/cases/compiler/inKeywordTypeguard.ts | 63 | function negativeMultipleClassesTest(x: A | B | C | D) { |
| LOW | …piler/isolatedDeclarationErrorsFunctionDeclarations.ts | 13 | export function noParamAnnotationBadDefault(p = 1 + 1, p2 = { a: 1 + 1 }, p3 = [1 + 1] as const): void {} |
| LOW | …cases/compiler/declarationEmitBindingPatternsUnused.ts | 35 | function referencedInSignartureKeyword({ function: alias }: { function: string }): typeof alias { |
| LOW | …cases/compiler/declarationEmitBindingPatternsUnused.ts | 44 | function referencedInNestedFunction({ name: alias }: Named) { |
| LOW | …s/cases/compiler/declarationEmitCastReusesTypeNode1.ts | 14 | export function fnWithRequiredDefaultParam(p = null! as P, req: number) {} |
| LOW | …s/cases/compiler/declarationEmitCastReusesTypeNode1.ts | 32 | export function fnWithPartialAnnotationOnDefaultparam(x: P = null! as P, b: number) {} |
| LOW | tests/cases/compiler/narrowingUnionToUnion.ts | 210 | function assertRelationIsNullOrStringArray(v: (string | number)[] | null): asserts v is string[] | null {} |
| LOW | …ompiler/privacyFunctionCannotNameReturnTypeDeclFile.ts | 111 | export function publicFunctionWithPrivateParmeterTypes() { // Error |
| LOW | …ompiler/privacyFunctionCannotNameReturnTypeDeclFile.ts | 114 | function privateFunctionWithPrivateParmeterTypes() { |
| 4689 more matches not shown… | |||
| Severity | File | Line | Snippet |
|---|---|---|---|
| HIGH | …ompiler/declarationEmitEnumReferenceViaImportEquals.ts | 26 | print() { |
| HIGH | …ts/cases/compiler/reachabilityCheckWithEmptyDefault.ts | 8 | print('1'); |
| HIGH | …sts/cases/conformance/classes/mixinClassesAnnotated.ts | 17 | print(): void; |
| HIGH | …sts/cases/conformance/classes/mixinClassesAnnotated.ts | 23 | print() { |
| HIGH | …sts/cases/conformance/classes/mixinClassesAnonymous.ts | 16 | print() { |
| HIGH | …onformance/dynamicImport/importCallExpressionInCJS3.ts | 5 | print() { return "I am B"} |
| HIGH | …ormance/dynamicImport/importCallExpressionInSystem2.ts | 5 | print() { return "I am B"} |
| HIGH | …nformance/dynamicImport/importCallExpression3ES2020.ts | 5 | print() { return "I am B"} |
| HIGH | …nformance/dynamicImport/importCallExpression2ES2020.ts | 5 | print() { return "I am B"} |
| HIGH | …ormance/dynamicImport/importCallExpressionInSystem3.ts | 5 | print() { return "I am B"} |
| HIGH | …onformance/dynamicImport/importCallExpressionInUMD4.ts | 6 | print() { return "I am B"} |
| HIGH | …onformance/dynamicImport/importCallExpressionInAMD2.ts | 5 | print() { return "I am B"} |
| HIGH | …nformance/dynamicImport/importCallExpression4ES2020.ts | 6 | print() { return "I am B"} |
| HIGH | …nformance/dynamicImport/importCallExpression5ES2020.ts | 6 | print() { return "I am B"} |
| HIGH | …onformance/dynamicImport/importCallExpressionInAMD3.ts | 5 | print() { return "I am B"} |
| HIGH | …micImport/importCallExpressionNoModuleKindSpecified.ts | 6 | print() { return "I am B"} |
| HIGH | …onformance/dynamicImport/importCallExpressionInAMD4.ts | 7 | print() { return "I am B"} |
| HIGH | …ormance/dynamicImport/importCallExpressionInSystem4.ts | 7 | print() { return "I am B"} |
| HIGH | …onformance/dynamicImport/importCallExpressionInCJS5.ts | 7 | print() { return "I am B"} |
| HIGH | …onformance/dynamicImport/importCallExpressionInUMD3.ts | 5 | print() { return "I am B"} |
| HIGH | …nformance/dynamicImport/importCallExpression6ES2020.ts | 5 | print() { return "I am B"} |
| HIGH | …onformance/dynamicImport/importCallExpressionInCJS4.ts | 5 | print() { return "I am B"} |
| HIGH | …onformance/dynamicImport/importCallExpressionInUMD2.ts | 5 | print() { return "I am B"} |
| HIGH | tests/baselines/reference/importCallExpressionInAMD4.js | 5 | print() { return "I am B"} |
| HIGH | tests/baselines/reference/importCallExpressionInAMD4.js | 50 | print() { return "I am B"; } |
| HIGH | tests/baselines/reference/mixinClassesAnonymous.js | 18 | print() { |
| HIGH | tests/baselines/reference/mixinClassesAnonymous.js | 85 | print() { |
| HIGH | tests/baselines/reference/importCallExpressionInCJS4.js | 5 | print() { return "I am B"} |
| HIGH | tests/baselines/reference/importCallExpressionInCJS4.js | 21 | print() { return "I am B"; } |
| HIGH | tests/baselines/reference/importCallExpressionInUMD2.js | 5 | print() { return "I am B"} |
| HIGH | tests/baselines/reference/importCallExpressionInUMD2.js | 33 | print() { return "I am B"; } |
| HIGH | …s/baselines/reference/importCallExpressionInSystem4.js | 5 | print() { return "I am B"} |
| HIGH | …s/baselines/reference/importCallExpressionInSystem4.js | 54 | print() { return "I am B"; } |
| HIGH | tests/baselines/reference/importCallExpressionInCJS5.js | 5 | print() { return "I am B"} |
| HIGH | tests/baselines/reference/importCallExpressionInCJS5.js | 49 | print() { return "I am B"; } |
| HIGH | tests/baselines/reference/importCallExpressionInUMD3.js | 5 | print() { return "I am B"} |
| HIGH | tests/baselines/reference/importCallExpressionInUMD3.js | 30 | print() { return "I am B"; } |
| HIGH | …sts/baselines/reference/importCallExpression6ES2020.js | 5 | print() { return "I am B"} |
| HIGH | …sts/baselines/reference/importCallExpression6ES2020.js | 24 | print() { return "I am B"; } |
| HIGH | tests/baselines/reference/parserRealSource11.js | 2479 | print(context) { |
| HIGH | …s/baselines/reference/importCallExpressionInSystem3.js | 5 | print() { return "I am B"} |
| HIGH | …s/baselines/reference/importCallExpressionInSystem3.js | 25 | print() { return "I am B"; } |
| HIGH | tests/baselines/reference/importCallExpressionInUMD4.js | 5 | print() { return "I am B"} |
| HIGH | tests/baselines/reference/importCallExpressionInUMD4.js | 58 | print() { return "I am B"; } |
| HIGH | tests/baselines/reference/importCallExpressionInCJS3.js | 5 | print() { return "I am B"} |
| HIGH | tests/baselines/reference/importCallExpressionInCJS3.js | 24 | print() { return "I am B"; } |
| HIGH | …s/baselines/reference/importCallExpressionInSystem2.js | 5 | print() { return "I am B"} |
| HIGH | …s/baselines/reference/importCallExpressionInSystem2.js | 28 | print() { return "I am B"; } |
| HIGH | …sts/baselines/reference/importCallExpression2ES2020.js | 5 | print() { return "I am B"} |
| HIGH | …sts/baselines/reference/importCallExpression2ES2020.js | 21 | print() { return "I am B"; } |
| HIGH | …sts/baselines/reference/importCallExpression3ES2020.js | 5 | print() { return "I am B"} |
| HIGH | …sts/baselines/reference/importCallExpression3ES2020.js | 19 | print() { return "I am B"; } |
| HIGH | tests/baselines/reference/parserRealSource10.js | 798 | print(line, outfile) { |
| HIGH | …sts/baselines/reference/importCallExpression5ES2020.js | 5 | print() { return "I am B"} |
| HIGH | …sts/baselines/reference/importCallExpression5ES2020.js | 24 | print() { return "I am B"; } |
| HIGH | …sts/baselines/reference/importCallExpression4ES2020.js | 5 | print() { return "I am B"} |
| HIGH | …sts/baselines/reference/importCallExpression4ES2020.js | 32 | print() { return "I am B"; } |
| HIGH | tests/baselines/reference/importCallExpressionInAMD3.js | 5 | print() { return "I am B"} |
| HIGH | tests/baselines/reference/importCallExpressionInAMD3.js | 22 | print() { return "I am B"; } |
| HIGH | …reference/importCallExpressionNoModuleKindSpecified.js | 5 | print() { return "I am B"} |
| 16 more matches not shown… | |||
| Severity | File | Line | Snippet |
|---|---|---|---|
| CRITICAL | …es/conformance/parser/ecmascript5/parserRealSource7.ts | 552 | if (!context.scopeChain.classType.members.publicMembers.add(varDecl.id.text, fieldSymbol)) { |
| CRITICAL | …nce/deeplyNestedAssignabilityErrorsCombined.errors.txt | 2 | The types of 'a.b.c.d.e.f().g' are incompatible between these types. |
| CRITICAL | …nce/deeplyNestedAssignabilityErrorsCombined.errors.txt | 5 | The types of '(new a.b.c.d.e.f()).g' are incompatible between these types. |
| CRITICAL | …nce/deeplyNestedAssignabilityErrorsCombined.errors.txt | 15 | !!! error TS2322: The types of 'a.b.c.d.e.f().g' are incompatible between these types. |
| CRITICAL | …nce/deeplyNestedAssignabilityErrorsCombined.errors.txt | 31 | !!! error TS2322: The types of '(new a.b.c.d.e.f()).g' are incompatible between these types. |
| CRITICAL | tests/baselines/reference/parserRealSource7.js | 554 | if (!context.scopeChain.classType.members.publicMembers.add(varDecl.id.text, fieldSymbol)) { |
| CRITICAL | tests/baselines/reference/parserRealSource7.js | 1274 | if (!context.scopeChain.classType.members.publicMembers.add(varDecl.id.text, fieldSymbol)) { |
| CRITICAL | tests/baselines/reference/parserRealSource7.errors.txt | 1318 | if (!context.scopeChain.classType.members.publicMembers.add(varDecl.id.text, fieldSymbol)) { |
| CRITICAL | src/services/callHierarchy.ts | 266 | return node.parent.parent.parent.parent.parent.name.getText(); |
| Severity | File | Line | Snippet |
|---|---|---|---|
| MEDIUM | …tExportAssignedNamespaceNoTripleSlashTypesReference.ts | 33 | // This issue (#35343) _only_ reproduces in the test harness when the file in question is in a subfolder |
| MEDIUM | …es/members/privateNames/privateNamesAndStaticFields.ts | 23 | // We will need a more robust solution when we support static fields |
| MEDIUM | …conformance/controlFlow/exhaustiveSwitchStatements1.ts | 25 | z; // Definitely assigned |
| MEDIUM | …sts/baselines/reference/exhaustiveSwitchStatements1.js | 23 | z; // Definitely assigned |
| MEDIUM | …sts/baselines/reference/exhaustiveSwitchStatements1.js | 278 | z; // Definitely assigned |
| MEDIUM | …sts/baselines/reference/privateNamesAndStaticFields.js | 23 | // We will need a more robust solution when we support static fields |
| MEDIUM | …sts/baselines/reference/privateNamesAndStaticFields.js | 60 | // We will need a more robust solution when we support static fields |
| MEDIUM | …tExportAssignedNamespaceNoTripleSlashTypesReference.js | 32 | // This issue (#35343) _only_ reproduces in the test harness when the file in question is in a subfolder |
| MEDIUM | …tExportAssignedNamespaceNoTripleSlashTypesReference.js | 53 | // This issue (#35343) _only_ reproduces in the test harness when the file in question is in a subfolder |
| MEDIUM | src/compiler/performance.ts | 186 | // to be able to leverage native trace events when node is run with either `--cpu-prof` |
| MEDIUM | src/compiler/parser.ts | 5247 | // Definitely not a parenthesized arrow function. |
| MEDIUM | src/compiler/transformers/esDecorators.ts | 993 | // We use `var` instead of `let` so we can leverage NamedEvaluation to define the class name |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | …ArrowFunctionOrFunctionExpression_ToAnon_FnArgument.ts | 3 | //// function doSomething(a){} |
| LOW | …ArrowFunctionOrFunctionExpression_ToAnon_FnArgument.ts | 11 | newContent: `function doSomething(a){} |
| LOW | tests/cases/compiler/differentTypesWithSameName.ts | 6 | export function doSomething(v: m.variable) { |
| LOW | tests/cases/compiler/implicitConstParameters.ts | 4 | function doSomething(cb: () => void) { |
| LOW | …es/compiler/readonlyPropertySubtypeRelationDirected.ts | 9 | function doSomething(condition: boolean) { |
| LOW | …es/compiler/readonlyPropertySubtypeRelationDirected.ts | 28 | function doSomething(condition: boolean) { |
| LOW | …es/compiler/readonlyPropertySubtypeRelationDirected.ts | 48 | function doSomething(condition: boolean) { |
| LOW | …es/compiler/readonlyPropertySubtypeRelationDirected.ts | 68 | function doSomething(condition: boolean) { |
| LOW | …compiler/functionExpressionAndLambdaMatchesFunction.ts | 5 | function doSomething(a: Function) { |
| LOW | tests/cases/compiler/weakType.ts | 14 | function doSomething(settings: Settings) { /* ... */ } |
| LOW | …eference/functionExpressionAndLambdaMatchesFunction.js | 6 | function doSomething(a: Function) { |
| LOW | …eference/functionExpressionAndLambdaMatchesFunction.js | 18 | function doSomething(a) { |
| LOW | tests/baselines/reference/weakType.js | 16 | function doSomething(settings: Settings) { /* ... */ } |
| LOW | tests/baselines/reference/weakType.js | 74 | function doSomething(settings) { } |
| LOW | tests/baselines/reference/implicitConstParameters.js | 4 | function doSomething(cb: () => void) { |
| LOW | tests/baselines/reference/implicitConstParameters.js | 62 | function doSomething(cb) { |
| LOW | …s/reference/readonlyPropertySubtypeRelationDirected.js | 9 | function doSomething(condition: boolean) { |
| LOW | …s/reference/readonlyPropertySubtypeRelationDirected.js | 28 | function doSomething(condition: boolean) { |
| LOW | …s/reference/readonlyPropertySubtypeRelationDirected.js | 48 | function doSomething(condition: boolean) { |
| LOW | …s/reference/readonlyPropertySubtypeRelationDirected.js | 68 | function doSomething(condition: boolean) { |
| LOW | …s/reference/readonlyPropertySubtypeRelationDirected.js | 86 | function doSomething(condition) { |
| LOW | …s/reference/readonlyPropertySubtypeRelationDirected.js | 101 | function doSomething(condition) { |
| LOW | …s/reference/readonlyPropertySubtypeRelationDirected.js | 116 | function doSomething(condition) { |
| LOW | …s/reference/readonlyPropertySubtypeRelationDirected.js | 131 | function doSomething(condition) { |
| LOW | tests/baselines/reference/differentTypesWithSameName.js | 8 | export function doSomething(v: m.variable) { |
| LOW | tests/baselines/reference/differentTypesWithSameName.js | 28 | function doSomething(v) { |
| Severity | File | Line | Snippet |
|---|---|---|---|
| MEDIUM | .github/workflows/codeql.yml | 13 | # ┌───────────── minute (0 - 59) |
| MEDIUM | .github/workflows/codeql.yml | 14 | # │ ┌───────────── hour (0 - 23) |
| MEDIUM | .github/workflows/codeql.yml | 15 | # │ │ ┌───────────── day of the month (1 - 31) |
| MEDIUM | .github/workflows/codeql.yml | 16 | # │ │ │ ┌───────────── month (1 - 12 or JAN-DEC) |
| MEDIUM | .github/workflows/codeql.yml | 17 | # │ │ │ │ ┌───────────── day of the week (0 - 6 or SUN-SAT) |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | …hIncreased/amd/nodeModulesMaxDepthIncreased.errors.txt | 22 | "name": "John Doe", |
| LOW | …Increased/node/nodeModulesMaxDepthIncreased.errors.txt | 19 | "name": "John Doe", |
| LOW | …lesImportHigher/amd/nodeModulesImportHigher.errors.txt | 45 | "name": "John Doe", |
| LOW | …esImportHigher/node/nodeModulesImportHigher.errors.txt | 42 | "name": "John Doe", |
| LOW | src/testRunner/unittests/services/colorization.ts | 146 | testLexicalClassification("LOREM IPSUM DOLOR ", ts.EndOfLineState.InMultiLineCommentTrivia, comment("LOREM |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | src/compiler/symbolWalker.ts | 205 | // So to get the intervening symbols, we need to check if there's a type |
| 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 |