(type)
| 96303 | } |
| 96304 | } |
| 96305 | function getPromiseConstructor(type) { |
| 96306 | var typeName = type && ts.getEntityNameFromTypeNode(type); |
| 96307 | if (typeName && ts.isEntityName(typeName)) { |
| 96308 | var serializationKind = resolver.getTypeReferenceSerializationKind(typeName); |
| 96309 | if (serializationKind === ts.TypeReferenceSerializationKind.TypeWithConstructSignatureAndValue |
| 96310 | || serializationKind === ts.TypeReferenceSerializationKind.Unknown) { |
| 96311 | return typeName; |
| 96312 | } |
| 96313 | } |
| 96314 | return undefined; |
| 96315 | } |
| 96316 | function enableSubstitutionForAsyncMethodsWithSuper() { |
| 96317 | if ((enabledSubstitutions & 1 /* ES2017SubstitutionFlags.AsyncMethodsWithSuper */) === 0) { |
| 96318 | enabledSubstitutions |= 1 /* ES2017SubstitutionFlags.AsyncMethodsWithSuper */; |
no outgoing calls
no test coverage detected