| 1 | import type NodePathscip-typescript npm @babel/traverse 7.20.13 src/path/`index.ts`/NodePath# from "../index"scip-typescript npm @babel/traverse 7.20.13 src/path/`index.ts`/; |
| 2 | import * as inferersscip-typescript npm @babel/traverse 7.20.13 src/path/inference/`inferers.ts`/ from "./inferers"scip-typescript npm @babel/traverse 7.20.13 src/path/inference/`inferers.ts`/; |
| 3 | import { |
| 4 | anyTypeAnnotationscip-typescript npm @babel/types 7.20.7 src/builders/generated/`index.ts`/anyTypeAnnotation()., |
| 5 | isAnyTypeAnnotationscip-typescript npm @babel/types 7.20.7 src/validators/generated/`index.ts`/isAnyTypeAnnotation()., |
| 6 | isArrayTypeAnnotationscip-typescript npm @babel/types 7.20.7 src/validators/generated/`index.ts`/isArrayTypeAnnotation()., |
| 7 | isBooleanTypeAnnotationscip-typescript npm @babel/types 7.20.7 src/validators/generated/`index.ts`/isBooleanTypeAnnotation()., |
| 8 | isEmptyTypeAnnotationscip-typescript npm @babel/types 7.20.7 src/validators/generated/`index.ts`/isEmptyTypeAnnotation()., |
| 9 | isFlowBaseAnnotationscip-typescript npm @babel/types 7.20.7 src/validators/generated/`index.ts`/isFlowBaseAnnotation()., |
| 10 | isGenericTypeAnnotationscip-typescript npm @babel/types 7.20.7 src/validators/generated/`index.ts`/isGenericTypeAnnotation()., |
| 11 | isIdentifierscip-typescript npm @babel/types 7.20.7 src/validators/generated/`index.ts`/isIdentifier()., |
| 12 | isMixedTypeAnnotationscip-typescript npm @babel/types 7.20.7 src/validators/generated/`index.ts`/isMixedTypeAnnotation()., |
| 13 | isNumberTypeAnnotationscip-typescript npm @babel/types 7.20.7 src/validators/generated/`index.ts`/isNumberTypeAnnotation()., |
| 14 | isStringTypeAnnotationscip-typescript npm @babel/types 7.20.7 src/validators/generated/`index.ts`/isStringTypeAnnotation()., |
| 15 | isTSArrayTypescip-typescript npm @babel/types 7.20.7 src/validators/generated/`index.ts`/isTSArrayType()., |
| 16 | isTSTypeAnnotationscip-typescript npm @babel/types 7.20.7 src/validators/generated/`index.ts`/isTSTypeAnnotation()., |
| 17 | isTSTypeReferencescip-typescript npm @babel/types 7.20.7 src/validators/generated/`index.ts`/isTSTypeReference()., |
| 18 | isTupleTypeAnnotationscip-typescript npm @babel/types 7.20.7 src/validators/generated/`index.ts`/isTupleTypeAnnotation()., |
| 19 | isTypeAnnotationscip-typescript npm @babel/types 7.20.7 src/validators/generated/`index.ts`/isTypeAnnotation()., |
| 20 | isUnionTypeAnnotationscip-typescript npm @babel/types 7.20.7 src/validators/generated/`index.ts`/isUnionTypeAnnotation()., |
| 21 | isVoidTypeAnnotationscip-typescript npm @babel/types 7.20.7 src/validators/generated/`index.ts`/isVoidTypeAnnotation()., |
| 22 | stringTypeAnnotationscip-typescript npm @babel/types 7.20.7 src/builders/generated/`index.ts`/stringTypeAnnotation()., |
| 23 | voidTypeAnnotationscip-typescript npm @babel/types 7.20.7 src/builders/generated/`index.ts`/voidTypeAnnotation()., |
| 24 | } from "@babel/types"scip-typescript npm @babel/types 7.20.7 src/`index.ts`/; |
| 25 | import type * as tscip-typescript npm @babel/types 7.20.7 src/`index.ts`/ from "@babel/types"scip-typescript npm @babel/types 7.20.7 src/`index.ts`/; |
| 26 | |
| 27 | /** |
| 28 | * Infer the type of the current `NodePath`. |
| 29 | */ |
| 30 | |
| 31 | export function getTypeAnnotationscip-typescript npm @babel/traverse 7.20.13 src/path/inference/`index.ts`/getTypeAnnotation().(thisscip-typescript npm @babel/traverse 7.20.13 src/path/inference/`index.ts`/getTypeAnnotation().(this): NodePathscip-typescript npm @babel/traverse 7.20.13 src/path/`index.ts`/NodePath#): tscip-typescript npm @babel/types 7.20.7 src/`index.ts`/.FlowTypescip-typescript npm @babel/types 7.20.7 src/ast-types/generated/`index.ts`/FlowType# | tscip-typescript npm @babel/types 7.20.7 src/`index.ts`/.TSTypescip-typescript npm @babel/types 7.20.7 src/ast-types/generated/`index.ts`/TSType# { |
| 32 | let type = this.getDatascip-typescript npm @babel/traverse 7.20.13 src/path/`index.ts`/NodePath#getData().("typeAnnotation"); |
| 33 | if (type != null) { |
| 34 | return type; |
| 35 | } |
| 36 | type = this._getTypeAnnotationscip-typescript npm @babel/traverse 7.20.13 src/path/inference/`index.ts`/_getTypeAnnotation().() || anyTypeAnnotationscip-typescript npm @babel/types 7.20.7 src/builders/generated/`index.ts`/anyTypeAnnotation().(); |
| 37 | if (isTypeAnnotationscip-typescript npm @babel/types 7.20.7 src/validators/generated/`index.ts`/isTypeAnnotation().(type) || isTSTypeAnnotationscip-typescript npm @babel/types 7.20.7 src/validators/generated/`index.ts`/isTSTypeAnnotation().(type)) { |
| 38 | type = type.typeAnnotationscip-typescript npm @babel/types 7.20.7 src/ast-types/generated/`index.ts`/TSTypeAnnotation#typeAnnotation.; |
| 39 | } |
| 40 | this.setDatascip-typescript npm @babel/traverse 7.20.13 src/path/`index.ts`/NodePath#setData().("typeAnnotation", type); |
| 41 | return type; |
| 42 | } |
| 43 | |
| 44 | // Used to avoid infinite recursion in cases like |
| 45 | // var b, c; if (0) { c = 1; b = c; } c = b; |
| 46 | // It also works with indirect recursion. |
| 47 | const typeAnnotationInferringNodesscip-typescript npm @babel/traverse 7.20.13 src/path/inference/`index.ts`/typeAnnotationInferringNodes. = new WeakSetscip-typescript npm typescript 5.9.3 lib/`lib.es2015.collection.d.ts`/WeakSet#(); |
| 48 | |
| 49 | /** |
| 50 | * todo: split up this method |
| 51 | */ |
| 52 | |
| 53 | export function _getTypeAnnotationscip-typescript npm @babel/traverse 7.20.13 src/path/inference/`index.ts`/_getTypeAnnotation().(thisscip-typescript npm @babel/traverse 7.20.13 src/path/inference/`index.ts`/_getTypeAnnotation().(this): NodePathscip-typescript npm @babel/traverse 7.20.13 src/path/`index.ts`/NodePath#): any { |
| 54 | const node = this.nodescip-typescript npm @babel/traverse 7.20.13 src/path/`index.ts`/NodePath#node.; |
| 55 | |
| 56 | if (!node) { |
| 57 | // handle initializerless variables, add in checks for loop initializers too |
| 58 | if (this.keyscip-typescript npm @babel/traverse 7.20.13 src/path/`index.ts`/NodePath#key. === "init" && this.parentPathscip-typescript npm @babel/traverse 7.20.13 src/path/`index.ts`/NodePath#parentPath..isVariableDeclaratorscip-typescript npm @babel/traverse 7.20.13 src/path/generated/`validators.d.ts`/BaseNodePathValidators#isVariableDeclarator().()) { |
| 59 | const declar = this.parentPathscip-typescript npm @babel/traverse 7.20.13 src/path/`index.ts`/NodePath#parentPath..parentPathscip-typescript npm @babel/traverse 7.20.13 src/path/`index.ts`/NodePath#parentPath.; |
| 60 | const declarParent = declar.parentPathscip-typescript npm @babel/traverse 7.20.13 src/path/`index.ts`/NodePath#parentPath.; |
| 61 | |
| 62 | // for (let NODE in bar) {} |
| 63 | if (declar.keyscip-typescript npm @babel/traverse 7.20.13 src/path/`index.ts`/NodePath#key. === "left" && declarParent.isForInStatementscip-typescript npm @babel/traverse 7.20.13 src/path/generated/`validators.d.ts`/BaseNodePathValidators#isForInStatement().()) { |
| 64 | return stringTypeAnnotationscip-typescript npm @babel/types 7.20.7 src/builders/generated/`index.ts`/stringTypeAnnotation().(); |
| 65 | } |
| 66 | |
| 67 | // for (let NODE of bar) {} |
| 68 | if (declar.keyscip-typescript npm @babel/traverse 7.20.13 src/path/`index.ts`/NodePath#key. === "left" && declarParent.isForOfStatementscip-typescript npm @babel/traverse 7.20.13 src/path/generated/`validators.d.ts`/BaseNodePathValidators#isForOfStatement().()) { |
| 69 | return anyTypeAnnotationscip-typescript npm @babel/types 7.20.7 src/builders/generated/`index.ts`/anyTypeAnnotation().(); |
| 70 | } |
| 71 | |
| 72 | return voidTypeAnnotationscip-typescript npm @babel/types 7.20.7 src/builders/generated/`index.ts`/voidTypeAnnotation().(); |
| 73 | } else { |
| 74 | return; |
| 75 | } |
| 76 | } |
| 77 | |
| 78 | // @ts-expect-error typeAnnotation may not index node |
| 79 | if (node.typeAnnotation) { |
| 80 | // @ts-expect-error typeAnnotation may not index node |
| 81 | return node.typeAnnotation; |
| 82 | } |
| 83 | |
| 84 | if (typeAnnotationInferringNodesscip-typescript npm @babel/traverse 7.20.13 src/path/inference/`index.ts`/typeAnnotationInferringNodes..hasscip-typescript npm typescript 5.9.3 lib/`lib.es2015.collection.d.ts`/WeakSet#has().(node)) { |
| 85 | // Bail out from type inference to avoid infinite loops |
| 86 | return; |
| 87 | } |
| 88 | typeAnnotationInferringNodesscip-typescript npm @babel/traverse 7.20.13 src/path/inference/`index.ts`/typeAnnotationInferringNodes..addscip-typescript npm typescript 5.9.3 lib/`lib.es2015.collection.d.ts`/WeakSet#add().(node); |
| 89 | |
| 90 | try { |
| 91 | let inferer = |
| 92 | // @ts-expect-error inferers do not cover all AST types |
| 93 | inferersscip-typescript npm @babel/traverse 7.20.13 src/path/inference/`inferers.ts`/[node.typescip-typescript npm @babel/types 7.20.7 src/ast-types/generated/`index.ts`/ArrayExpression#type.]; |
| 94 | if (inferer) { |
| 95 | return inferer.call(this, node); |
| 96 | } |
| 97 | |
| 98 | // @ts-expect-error inferers do not cover all AST types |
| 99 | inferer = inferersscip-typescript npm @babel/traverse 7.20.13 src/path/inference/`inferers.ts`/[this.parentPathscip-typescript npm @babel/traverse 7.20.13 src/path/`index.ts`/NodePath#parentPath..typescip-typescript npm @babel/traverse 7.20.13 src/path/`index.ts`/NodePath#type.]; |
| 100 | if (inferer?.validParent) { |
| 101 | return this.parentPathscip-typescript npm @babel/traverse 7.20.13 src/path/`index.ts`/NodePath#parentPath..getTypeAnnotationscip-typescript npm @babel/traverse 7.20.13 src/path/inference/`index.ts`/getTypeAnnotation().(); |
| 102 | } |
| 103 | } finally { |
| 104 | typeAnnotationInferringNodesscip-typescript npm @babel/traverse 7.20.13 src/path/inference/`index.ts`/typeAnnotationInferringNodes..deletescip-typescript npm typescript 5.9.3 lib/`lib.es2015.collection.d.ts`/WeakSet#delete().(node); |
| 105 | } |
| 106 | } |
| 107 | |
| 108 | export function isBaseTypescip-typescript npm @babel/traverse 7.20.13 src/path/inference/`index.ts`/isBaseType().( |
| 109 | thisscip-typescript npm @babel/traverse 7.20.13 src/path/inference/`index.ts`/isBaseType().(this): NodePathscip-typescript npm @babel/traverse 7.20.13 src/path/`index.ts`/NodePath#, |
| 110 | baseNamescip-typescript npm @babel/traverse 7.20.13 src/path/inference/`index.ts`/isBaseType().(baseName): string, |
| 111 | softscip-typescript npm @babel/traverse 7.20.13 src/path/inference/`index.ts`/isBaseType().(soft)?: boolean, |
| 112 | ): boolean { |
| 113 | return _isBaseTypescip-typescript npm @babel/traverse 7.20.13 src/path/inference/`index.ts`/_isBaseType().(baseNamescip-typescript npm @babel/traverse 7.20.13 src/path/inference/`index.ts`/isBaseType().(baseName), this.getTypeAnnotationscip-typescript npm @babel/traverse 7.20.13 src/path/inference/`index.ts`/getTypeAnnotation().(), softscip-typescript npm @babel/traverse 7.20.13 src/path/inference/`index.ts`/isBaseType().(soft)); |
| 114 | } |
| 115 | |
| 116 | function _isBaseTypescip-typescript npm @babel/traverse 7.20.13 src/path/inference/`index.ts`/_isBaseType().( |
| 117 | baseNamescip-typescript npm @babel/traverse 7.20.13 src/path/inference/`index.ts`/_isBaseType().(baseName): string, |
| 118 | typescip-typescript npm @babel/traverse 7.20.13 src/path/inference/`index.ts`/_isBaseType().(type)?: tscip-typescript npm @babel/types 7.20.7 src/`index.ts`/.FlowTypescip-typescript npm @babel/types 7.20.7 src/ast-types/generated/`index.ts`/FlowType# | tscip-typescript npm @babel/types 7.20.7 src/`index.ts`/.TSTypescip-typescript npm @babel/types 7.20.7 src/ast-types/generated/`index.ts`/TSType#, |
| 119 | softscip-typescript npm @babel/traverse 7.20.13 src/path/inference/`index.ts`/_isBaseType().(soft)?: boolean, |
| 120 | ): boolean { |
| 121 | if (baseNamescip-typescript npm @babel/traverse 7.20.13 src/path/inference/`index.ts`/_isBaseType().(baseName) === "string") { |
| 122 | return isStringTypeAnnotationscip-typescript npm @babel/types 7.20.7 src/validators/generated/`index.ts`/isStringTypeAnnotation().(typescip-typescript npm @babel/traverse 7.20.13 src/path/inference/`index.ts`/_isBaseType().(type)); |
| 123 | } else if (baseNamescip-typescript npm @babel/traverse 7.20.13 src/path/inference/`index.ts`/_isBaseType().(baseName) === "number") { |
| 124 | return isNumberTypeAnnotationscip-typescript npm @babel/types 7.20.7 src/validators/generated/`index.ts`/isNumberTypeAnnotation().(typescip-typescript npm @babel/traverse 7.20.13 src/path/inference/`index.ts`/_isBaseType().(type)); |
| 125 | } else if (baseNamescip-typescript npm @babel/traverse 7.20.13 src/path/inference/`index.ts`/_isBaseType().(baseName) === "boolean") { |
| 126 | return isBooleanTypeAnnotationscip-typescript npm @babel/types 7.20.7 src/validators/generated/`index.ts`/isBooleanTypeAnnotation().(typescip-typescript npm @babel/traverse 7.20.13 src/path/inference/`index.ts`/_isBaseType().(type)); |
| 127 | } else if (baseNamescip-typescript npm @babel/traverse 7.20.13 src/path/inference/`index.ts`/_isBaseType().(baseName) === "any") { |
| 128 | return isAnyTypeAnnotationscip-typescript npm @babel/types 7.20.7 src/validators/generated/`index.ts`/isAnyTypeAnnotation().(typescip-typescript npm @babel/traverse 7.20.13 src/path/inference/`index.ts`/_isBaseType().(type)); |
| 129 | } else if (baseNamescip-typescript npm @babel/traverse 7.20.13 src/path/inference/`index.ts`/_isBaseType().(baseName) === "mixed") { |
| 130 | return isMixedTypeAnnotationscip-typescript npm @babel/types 7.20.7 src/validators/generated/`index.ts`/isMixedTypeAnnotation().(typescip-typescript npm @babel/traverse 7.20.13 src/path/inference/`index.ts`/_isBaseType().(type)); |
| 131 | } else if (baseNamescip-typescript npm @babel/traverse 7.20.13 src/path/inference/`index.ts`/_isBaseType().(baseName) === "empty") { |
| 132 | return isEmptyTypeAnnotationscip-typescript npm @babel/types 7.20.7 src/validators/generated/`index.ts`/isEmptyTypeAnnotation().(typescip-typescript npm @babel/traverse 7.20.13 src/path/inference/`index.ts`/_isBaseType().(type)); |
| 133 | } else if (baseNamescip-typescript npm @babel/traverse 7.20.13 src/path/inference/`index.ts`/_isBaseType().(baseName) === "void") { |
| 134 | return isVoidTypeAnnotationscip-typescript npm @babel/types 7.20.7 src/validators/generated/`index.ts`/isVoidTypeAnnotation().(typescip-typescript npm @babel/traverse 7.20.13 src/path/inference/`index.ts`/_isBaseType().(type)); |
| 135 | } else { |
| 136 | if (softscip-typescript npm @babel/traverse 7.20.13 src/path/inference/`index.ts`/_isBaseType().(soft)) { |
| 137 | return false; |
| 138 | } else { |
| 139 | throw new Errorscip-typescript npm typescript 5.9.3 lib/`lib.es5.d.ts`/Error#(`Unknown base type ${baseNamescip-typescript npm @babel/traverse 7.20.13 src/path/inference/`index.ts`/_isBaseType().(baseName)}`); |
| 140 | } |
| 141 | } |
| 142 | } |
| 143 | |
| 144 | export function couldBeBaseTypescip-typescript npm @babel/traverse 7.20.13 src/path/inference/`index.ts`/couldBeBaseType().(thisscip-typescript npm @babel/traverse 7.20.13 src/path/inference/`index.ts`/couldBeBaseType().(this): NodePathscip-typescript npm @babel/traverse 7.20.13 src/path/`index.ts`/NodePath#, namescip-typescript npm @babel/traverse 7.20.13 src/path/inference/`index.ts`/couldBeBaseType().(name): string): boolean { |
| 145 | const type = this.getTypeAnnotationscip-typescript npm @babel/traverse 7.20.13 src/path/inference/`index.ts`/getTypeAnnotation().(); |
| 146 | if (isAnyTypeAnnotationscip-typescript npm @babel/types 7.20.7 src/validators/generated/`index.ts`/isAnyTypeAnnotation().(type)) return true; |
| 147 | |
| 148 | if (isUnionTypeAnnotationscip-typescript npm @babel/types 7.20.7 src/validators/generated/`index.ts`/isUnionTypeAnnotation().(type)) { |
| 149 | for (const type2 of type.typesscip-typescript npm @babel/types 7.20.7 src/ast-types/generated/`index.ts`/UnionTypeAnnotation#types.) { |
| 150 | if (isAnyTypeAnnotationscip-typescript npm @babel/types 7.20.7 src/validators/generated/`index.ts`/isAnyTypeAnnotation().(type2) || _isBaseTypescip-typescript npm @babel/traverse 7.20.13 src/path/inference/`index.ts`/_isBaseType().(namescip-typescript npm @babel/traverse 7.20.13 src/path/inference/`index.ts`/couldBeBaseType().(name), type2, true)) { |
| 151 | return true; |
| 152 | } |
| 153 | } |
| 154 | return false; |
| 155 | } else { |
| 156 | return _isBaseTypescip-typescript npm @babel/traverse 7.20.13 src/path/inference/`index.ts`/_isBaseType().(namescip-typescript npm @babel/traverse 7.20.13 src/path/inference/`index.ts`/couldBeBaseType().(name), type, true); |
| 157 | } |
| 158 | } |
| 159 | |
| 160 | export function baseTypeStrictlyMatchesscip-typescript npm @babel/traverse 7.20.13 src/path/inference/`index.ts`/baseTypeStrictlyMatches().( |
| 161 | thisscip-typescript npm @babel/traverse 7.20.13 src/path/inference/`index.ts`/baseTypeStrictlyMatches().(this): NodePathscip-typescript npm @babel/traverse 7.20.13 src/path/`index.ts`/NodePath#, |
| 162 | rightArgscip-typescript npm @babel/traverse 7.20.13 src/path/inference/`index.ts`/baseTypeStrictlyMatches().(rightArg): NodePathscip-typescript npm @babel/traverse 7.20.13 src/path/`index.ts`/NodePath#, |
| 163 | ): boolean { |
| 164 | const left = this.getTypeAnnotationscip-typescript npm @babel/traverse 7.20.13 src/path/inference/`index.ts`/getTypeAnnotation().(); |
| 165 | const right = rightArgscip-typescript npm @babel/traverse 7.20.13 src/path/inference/`index.ts`/baseTypeStrictlyMatches().(rightArg).getTypeAnnotationscip-typescript npm @babel/traverse 7.20.13 src/path/inference/`index.ts`/getTypeAnnotation().(); |
| 166 | |
| 167 | if (!isAnyTypeAnnotationscip-typescript npm @babel/types 7.20.7 src/validators/generated/`index.ts`/isAnyTypeAnnotation().(left) && isFlowBaseAnnotationscip-typescript npm @babel/types 7.20.7 src/validators/generated/`index.ts`/isFlowBaseAnnotation().(left)) { |
| 168 | return right.typescip-typescript npm @babel/types 7.20.7 src/ast-types/generated/`index.ts`/AnyTypeAnnotation#type. === left.typescip-typescript npm @babel/types 7.20.7 src/ast-types/generated/`index.ts`/BooleanTypeAnnotation#type.; |
| 169 | } |
| 170 | return false; |
| 171 | } |
| 172 | |
| 173 | export function isGenericTypescip-typescript npm @babel/traverse 7.20.13 src/path/inference/`index.ts`/isGenericType().(thisscip-typescript npm @babel/traverse 7.20.13 src/path/inference/`index.ts`/isGenericType().(this): NodePathscip-typescript npm @babel/traverse 7.20.13 src/path/`index.ts`/NodePath#, genericNamescip-typescript npm @babel/traverse 7.20.13 src/path/inference/`index.ts`/isGenericType().(genericName): string): boolean { |
| 174 | const type = this.getTypeAnnotationscip-typescript npm @babel/traverse 7.20.13 src/path/inference/`index.ts`/getTypeAnnotation().(); |
| 175 | if (genericNamescip-typescript npm @babel/traverse 7.20.13 src/path/inference/`index.ts`/isGenericType().(genericName) === "Array") { |
| 176 | // T[] |
| 177 | if ( |
| 178 | isTSArrayTypescip-typescript npm @babel/types 7.20.7 src/validators/generated/`index.ts`/isTSArrayType().(type) || |
| 179 | isArrayTypeAnnotationscip-typescript npm @babel/types 7.20.7 src/validators/generated/`index.ts`/isArrayTypeAnnotation().(type) || |
| 180 | isTupleTypeAnnotationscip-typescript npm @babel/types 7.20.7 src/validators/generated/`index.ts`/isTupleTypeAnnotation().(type) |
| 181 | ) { |
| 182 | return true; |
| 183 | } |
| 184 | } |
| 185 | return ( |
| 186 | (isGenericTypeAnnotationscip-typescript npm @babel/types 7.20.7 src/validators/generated/`index.ts`/isGenericTypeAnnotation().(type) && |
| 187 | isIdentifierscip-typescript npm @babel/types 7.20.7 src/validators/generated/`index.ts`/isIdentifier().(type.idscip-typescript npm @babel/types 7.20.7 src/ast-types/generated/`index.ts`/GenericTypeAnnotation#id., { |
| 188 | namescip-typescript npm @babel/traverse 7.20.13 src/path/inference/`index.ts`/name0:: genericNamescip-typescript npm @babel/traverse 7.20.13 src/path/inference/`index.ts`/isGenericType().(genericName), |
| 189 | })) || |
| 190 | (isTSTypeReferencescip-typescript npm @babel/types 7.20.7 src/validators/generated/`index.ts`/isTSTypeReference().(type) && |
| 191 | isIdentifierscip-typescript npm @babel/types 7.20.7 src/validators/generated/`index.ts`/isIdentifier().(type.typeNamescip-typescript npm @babel/types 7.20.7 src/ast-types/generated/`index.ts`/TSTypeReference#typeName., { |
| 192 | namescip-typescript npm @babel/traverse 7.20.13 src/path/inference/`index.ts`/name1:: genericNamescip-typescript npm @babel/traverse 7.20.13 src/path/inference/`index.ts`/isGenericType().(genericName), |
| 193 | })) |
| 194 | ); |
| 195 | } |