Accept new baselines
This commit is contained in:
parent
3d89837cfa
commit
923e7a0614
4 changed files with 21 additions and 21 deletions
|
@ -366,29 +366,29 @@ module EmptyTypes {
|
||||||
>base2 : typeof base2
|
>base2 : typeof base2
|
||||||
|
|
||||||
var b1 = [baseObj, base2Obj, ifaceObj];
|
var b1 = [baseObj, base2Obj, ifaceObj];
|
||||||
>b1 : iface[]
|
>b1 : (iface | base | base2)[]
|
||||||
>[baseObj, base2Obj, ifaceObj] : iface[]
|
>[baseObj, base2Obj, ifaceObj] : (iface | base | base2)[]
|
||||||
>baseObj : base
|
>baseObj : base
|
||||||
>base2Obj : base2
|
>base2Obj : base2
|
||||||
>ifaceObj : iface
|
>ifaceObj : iface
|
||||||
|
|
||||||
var b2 = [base2Obj, baseObj, ifaceObj];
|
var b2 = [base2Obj, baseObj, ifaceObj];
|
||||||
>b2 : iface[]
|
>b2 : (iface | base | base2)[]
|
||||||
>[base2Obj, baseObj, ifaceObj] : iface[]
|
>[base2Obj, baseObj, ifaceObj] : (iface | base | base2)[]
|
||||||
>base2Obj : base2
|
>base2Obj : base2
|
||||||
>baseObj : base
|
>baseObj : base
|
||||||
>ifaceObj : iface
|
>ifaceObj : iface
|
||||||
|
|
||||||
var b3 = [baseObj, ifaceObj, base2Obj];
|
var b3 = [baseObj, ifaceObj, base2Obj];
|
||||||
>b3 : iface[]
|
>b3 : (iface | base | base2)[]
|
||||||
>[baseObj, ifaceObj, base2Obj] : iface[]
|
>[baseObj, ifaceObj, base2Obj] : (iface | base | base2)[]
|
||||||
>baseObj : base
|
>baseObj : base
|
||||||
>ifaceObj : iface
|
>ifaceObj : iface
|
||||||
>base2Obj : base2
|
>base2Obj : base2
|
||||||
|
|
||||||
var b4 = [ifaceObj, baseObj, base2Obj];
|
var b4 = [ifaceObj, baseObj, base2Obj];
|
||||||
>b4 : iface[]
|
>b4 : (iface | base | base2)[]
|
||||||
>[ifaceObj, baseObj, base2Obj] : iface[]
|
>[ifaceObj, baseObj, base2Obj] : (iface | base | base2)[]
|
||||||
>ifaceObj : iface
|
>ifaceObj : iface
|
||||||
>baseObj : base
|
>baseObj : base
|
||||||
>base2Obj : base2
|
>base2Obj : base2
|
||||||
|
@ -769,29 +769,29 @@ module NonEmptyTypes {
|
||||||
>base2 : typeof base2
|
>base2 : typeof base2
|
||||||
|
|
||||||
var b1 = [baseObj, base2Obj, ifaceObj];
|
var b1 = [baseObj, base2Obj, ifaceObj];
|
||||||
>b1 : iface[]
|
>b1 : (iface | base | base2)[]
|
||||||
>[baseObj, base2Obj, ifaceObj] : iface[]
|
>[baseObj, base2Obj, ifaceObj] : (iface | base | base2)[]
|
||||||
>baseObj : base
|
>baseObj : base
|
||||||
>base2Obj : base2
|
>base2Obj : base2
|
||||||
>ifaceObj : iface
|
>ifaceObj : iface
|
||||||
|
|
||||||
var b2 = [base2Obj, baseObj, ifaceObj];
|
var b2 = [base2Obj, baseObj, ifaceObj];
|
||||||
>b2 : iface[]
|
>b2 : (iface | base | base2)[]
|
||||||
>[base2Obj, baseObj, ifaceObj] : iface[]
|
>[base2Obj, baseObj, ifaceObj] : (iface | base | base2)[]
|
||||||
>base2Obj : base2
|
>base2Obj : base2
|
||||||
>baseObj : base
|
>baseObj : base
|
||||||
>ifaceObj : iface
|
>ifaceObj : iface
|
||||||
|
|
||||||
var b3 = [baseObj, ifaceObj, base2Obj];
|
var b3 = [baseObj, ifaceObj, base2Obj];
|
||||||
>b3 : iface[]
|
>b3 : (iface | base | base2)[]
|
||||||
>[baseObj, ifaceObj, base2Obj] : iface[]
|
>[baseObj, ifaceObj, base2Obj] : (iface | base | base2)[]
|
||||||
>baseObj : base
|
>baseObj : base
|
||||||
>ifaceObj : iface
|
>ifaceObj : iface
|
||||||
>base2Obj : base2
|
>base2Obj : base2
|
||||||
|
|
||||||
var b4 = [ifaceObj, baseObj, base2Obj];
|
var b4 = [ifaceObj, baseObj, base2Obj];
|
||||||
>b4 : iface[]
|
>b4 : (iface | base | base2)[]
|
||||||
>[ifaceObj, baseObj, base2Obj] : iface[]
|
>[ifaceObj, baseObj, base2Obj] : (iface | base | base2)[]
|
||||||
>ifaceObj : iface
|
>ifaceObj : iface
|
||||||
>baseObj : base
|
>baseObj : base
|
||||||
>base2Obj : base2
|
>base2Obj : base2
|
||||||
|
|
|
@ -55,8 +55,8 @@ var myList: MyList<number>;
|
||||||
>MyList : MyList<T>
|
>MyList : MyList<T>
|
||||||
|
|
||||||
var xs = [list, myList]; // {}[]
|
var xs = [list, myList]; // {}[]
|
||||||
>xs : List<number>[]
|
>xs : (List<number> | MyList<number>)[]
|
||||||
>[list, myList] : List<number>[]
|
>[list, myList] : (List<number> | MyList<number>)[]
|
||||||
>list : List<number>
|
>list : List<number>
|
||||||
>myList : MyList<number>
|
>myList : MyList<number>
|
||||||
|
|
||||||
|
|
|
@ -86,8 +86,8 @@ if (isNodeList(sourceObj) || isHTMLCollection(sourceObj)) {
|
||||||
>sourceObj : Symbol(sourceObj, Decl(controlFlowBinaryOrExpression.ts, 23, 3))
|
>sourceObj : Symbol(sourceObj, Decl(controlFlowBinaryOrExpression.ts, 23, 3))
|
||||||
|
|
||||||
sourceObj.length;
|
sourceObj.length;
|
||||||
>sourceObj.length : Symbol(NodeList.length, Decl(controlFlowBinaryOrExpression.ts, 10, 27))
|
>sourceObj.length : Symbol(length, Decl(controlFlowBinaryOrExpression.ts, 10, 27), Decl(controlFlowBinaryOrExpression.ts, 14, 33))
|
||||||
>sourceObj : Symbol(sourceObj, Decl(controlFlowBinaryOrExpression.ts, 23, 3))
|
>sourceObj : Symbol(sourceObj, Decl(controlFlowBinaryOrExpression.ts, 23, 3))
|
||||||
>length : Symbol(NodeList.length, Decl(controlFlowBinaryOrExpression.ts, 10, 27))
|
>length : Symbol(length, Decl(controlFlowBinaryOrExpression.ts, 10, 27), Decl(controlFlowBinaryOrExpression.ts, 14, 33))
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -106,7 +106,7 @@ if (isNodeList(sourceObj) || isHTMLCollection(sourceObj)) {
|
||||||
|
|
||||||
sourceObj.length;
|
sourceObj.length;
|
||||||
>sourceObj.length : number
|
>sourceObj.length : number
|
||||||
>sourceObj : NodeList
|
>sourceObj : NodeList | HTMLCollection
|
||||||
>length : number
|
>length : number
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue