You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
thisParameter?: Symbol;// symbol of this-type parameter
3640
3650
/* @internal */
3641
-
resolvedReturnType: Type;// Resolved return type
3651
+
// See comment in `instantiateSignature` for why these are set lazily.
3652
+
resolvedReturnType: Type|undefined;// Lazily set by `getReturnTypeOfSignature`.
3653
+
/* @internal */
3654
+
// Lazily set by `getTypePredicateOfSignature`.
3655
+
// `undefined` indicates a type predicate that has not yet been computed.
3656
+
// Uses a special `noTypePredicate` sentinel value to indicate that there is no type predicate. This looks like a TypePredicate at runtime to avoid polymorphism.
3657
+
resolvedTypePredicate: TypePredicate|undefined;
3642
3658
/* @internal */
3643
3659
minArgumentCount: number;// Number of non-optional parameters
3644
3660
/* @internal */
@@ -3658,8 +3674,6 @@ namespace ts {
3658
3674
/* @internal */
3659
3675
isolatedSignatureType?: ObjectType;// A manufactured type that just contains the signature for purposes of signature comparison
assert.isTrue(items.length<=entries.length,`Amount of expected items in completion list [ ${items.length} ] is greater than actual number of items in list [ ${entries.length} ]`);
796
+
assert(items.length<=entries.length,`Amount of expected items in completion list [ ${items.length} ] is greater than actual number of items in list [ ${entries.length} ]`);
797
797
ts.zipWith(entries,items,(entry,item)=>{
798
798
assert.equal(entry.name,item,`Unexpected item in completion list`);
assert.isTrue(TestState.textSpansEqual(span,item.replacementSpan),this.assertionMessageAtLastKnownMarker(stringify(span)+" does not equal "+stringify(item.replacementSpan)+" replacement span for "+entryId));
3112
+
assert(TestState.textSpansEqual(span,item.replacementSpan),this.assertionMessageAtLastKnownMarker(stringify(span)+" does not equal "+stringify(item.replacementSpan)+" replacement span for "+entryId));
assert(isDeepEqual(a,b),msg||(()=>`Expected values to be deeply equal:\nExpected:\n${JSON.stringify(a,undefined,4)}\nActual:\n${JSON.stringify(b,undefined,4)}`));
53
+
}
54
+
exportfunctionlengthOf(a: ReadonlyArray<{}>,length: number,msg="Expected length to match."): void{
55
+
assert(a.length===length,msg);
56
+
}
57
+
exportfunctionthrows(cb: ()=>void,msg="Expected callback to throw"): void{
0 commit comments