(type)
| 69581 | return declaredType; |
| 69582 | } |
| 69583 | function isFunctionObjectType(type) { |
| 69584 | // We do a quick check for a "bind" property before performing the more expensive subtype |
| 69585 | // check. This gives us a quicker out in the common case where an object type is not a function. |
| 69586 | var resolved = resolveStructuredTypeMembers(type); |
| 69587 | return !!(resolved.callSignatures.length || resolved.constructSignatures.length || |
| 69588 | resolved.members.get("bind") && isTypeSubtypeOf(type, globalFunctionType)); |
| 69589 | } |
| 69590 | function getTypeFacts(type, ignoreObjects) { |
| 69591 | if (ignoreObjects === void 0) { ignoreObjects = false; } |
| 69592 | var flags = type.flags; |
no test coverage detected
searching dependent graphs…