(type)
| 55781 | return !!(type.flags & 465829888 /* TypeFlags.Instantiable */) && maybeTypeOfKind(getBaseConstraintOfType(type) || unknownType, 32768 /* TypeFlags.Undefined */); |
| 55782 | } |
| 55783 | function getNonUndefinedType(type) { |
| 55784 | var typeOrConstraint = someType(type, isGenericTypeWithUndefinedConstraint) ? mapType(type, function (t) { return t.flags & 465829888 /* TypeFlags.Instantiable */ ? getBaseConstraintOrType(t) : t; }) : type; |
| 55785 | return getTypeWithFacts(typeOrConstraint, 524288 /* TypeFacts.NEUndefined */); |
| 55786 | } |
| 55787 | // Determine the control flow type associated with a destructuring declaration or assignment. The following |
| 55788 | // forms of destructuring are possible: |
| 55789 | // let { x } = obj; // BindingElement |
no test coverage detected