@@ -7,65 +7,65 @@ declare var union: null | { a: number, b: string };
7
7
>b : string
8
8
9
9
var n = Object.create(null); // object
10
- >n : object
11
- >Object.create(null) : object
12
- >Object.create : { <T extends object> (o: T | null): object | T ; (o: object | null, properties: PropertyDescriptorMap): any; }
10
+ >n : any
11
+ >Object.create(null) : any
12
+ >Object.create : { (o: object | null): any ; (o: object | null, properties: PropertyDescriptorMap): any; }
13
13
>Object : ObjectConstructor
14
- >create : { <T extends object> (o: T | null): object | T ; (o: object | null, properties: PropertyDescriptorMap): any; }
14
+ >create : { (o: object | null): any ; (o: object | null, properties: PropertyDescriptorMap): any; }
15
15
>null : null
16
16
17
17
var t = Object.create({ a: 1, b: "" }); // {a: number, b: string }
18
- >t : object | { a: number; b: string; }
19
- >Object.create({ a: 1, b: "" }) : object | { a: number; b: string; }
20
- >Object.create : { <T extends object> (o: T | null): object | T ; (o: object | null, properties: PropertyDescriptorMap): any; }
18
+ >t : any
19
+ >Object.create({ a: 1, b: "" }) : any
20
+ >Object.create : { (o: object | null): any ; (o: object | null, properties: PropertyDescriptorMap): any; }
21
21
>Object : ObjectConstructor
22
- >create : { <T extends object> (o: T | null): object | T ; (o: object | null, properties: PropertyDescriptorMap): any; }
22
+ >create : { (o: object | null): any ; (o: object | null, properties: PropertyDescriptorMap): any; }
23
23
>{ a: 1, b: "" } : { a: number; b: string; }
24
24
>a : number
25
25
>1 : 1
26
26
>b : string
27
27
>"" : ""
28
28
29
29
var u = Object.create(union); // object | {a: number, b: string }
30
- >u : object | { a: number; b: string; }
31
- >Object.create(union) : object | { a: number; b: string; }
32
- >Object.create : { <T extends object> (o: T | null): object | T ; (o: object | null, properties: PropertyDescriptorMap): any; }
30
+ >u : any
31
+ >Object.create(union) : any
32
+ >Object.create : { (o: object | null): any ; (o: object | null, properties: PropertyDescriptorMap): any; }
33
33
>Object : ObjectConstructor
34
- >create : { <T extends object> (o: T | null): object | T ; (o: object | null, properties: PropertyDescriptorMap): any; }
34
+ >create : { (o: object | null): any ; (o: object | null, properties: PropertyDescriptorMap): any; }
35
35
>union : { a: number; b: string; } | null
36
36
37
37
var e = Object.create({}); // {}
38
- >e : object | {}
39
- >Object.create({}) : object | {}
40
- >Object.create : { <T extends object> (o: T | null): object | T ; (o: object | null, properties: PropertyDescriptorMap): any; }
38
+ >e : any
39
+ >Object.create({}) : any
40
+ >Object.create : { (o: object | null): any ; (o: object | null, properties: PropertyDescriptorMap): any; }
41
41
>Object : ObjectConstructor
42
- >create : { <T extends object> (o: T | null): object | T ; (o: object | null, properties: PropertyDescriptorMap): any; }
42
+ >create : { (o: object | null): any ; (o: object | null, properties: PropertyDescriptorMap): any; }
43
43
>{} : {}
44
44
45
45
var o = Object.create(<object>{}); // object
46
- >o : object
47
- >Object.create(<object>{}) : object
48
- >Object.create : { <T extends object> (o: T | null): object | T ; (o: object | null, properties: PropertyDescriptorMap): any; }
46
+ >o : any
47
+ >Object.create(<object>{}) : any
48
+ >Object.create : { (o: object | null): any ; (o: object | null, properties: PropertyDescriptorMap): any; }
49
49
>Object : ObjectConstructor
50
- >create : { <T extends object> (o: T | null): object | T ; (o: object | null, properties: PropertyDescriptorMap): any; }
50
+ >create : { (o: object | null): any ; (o: object | null, properties: PropertyDescriptorMap): any; }
51
51
><object>{} : object
52
52
>{} : {}
53
53
54
54
var a = Object.create(null, {}); // any
55
55
>a : any
56
56
>Object.create(null, {}) : any
57
- >Object.create : { <T extends object> (o: T | null): object | T ; (o: object | null, properties: PropertyDescriptorMap): any; }
57
+ >Object.create : { (o: object | null): any ; (o: object | null, properties: PropertyDescriptorMap): any; }
58
58
>Object : ObjectConstructor
59
- >create : { <T extends object> (o: T | null): object | T ; (o: object | null, properties: PropertyDescriptorMap): any; }
59
+ >create : { (o: object | null): any ; (o: object | null, properties: PropertyDescriptorMap): any; }
60
60
>null : null
61
61
>{} : {}
62
62
63
63
var a = Object.create({ a: 1, b: "" }, {});
64
64
>a : any
65
65
>Object.create({ a: 1, b: "" }, {}) : any
66
- >Object.create : { <T extends object> (o: T | null): object | T ; (o: object | null, properties: PropertyDescriptorMap): any; }
66
+ >Object.create : { (o: object | null): any ; (o: object | null, properties: PropertyDescriptorMap): any; }
67
67
>Object : ObjectConstructor
68
- >create : { <T extends object> (o: T | null): object | T ; (o: object | null, properties: PropertyDescriptorMap): any; }
68
+ >create : { (o: object | null): any ; (o: object | null, properties: PropertyDescriptorMap): any; }
69
69
>{ a: 1, b: "" } : { a: number; b: string; }
70
70
>a : number
71
71
>1 : 1
@@ -76,27 +76,27 @@ var a = Object.create({ a: 1, b: "" }, {});
76
76
var a = Object.create(union, {});
77
77
>a : any
78
78
>Object.create(union, {}) : any
79
- >Object.create : { <T extends object> (o: T | null): object | T ; (o: object | null, properties: PropertyDescriptorMap): any; }
79
+ >Object.create : { (o: object | null): any ; (o: object | null, properties: PropertyDescriptorMap): any; }
80
80
>Object : ObjectConstructor
81
- >create : { <T extends object> (o: T | null): object | T ; (o: object | null, properties: PropertyDescriptorMap): any; }
81
+ >create : { (o: object | null): any ; (o: object | null, properties: PropertyDescriptorMap): any; }
82
82
>union : { a: number; b: string; } | null
83
83
>{} : {}
84
84
85
85
var a = Object.create({}, {});
86
86
>a : any
87
87
>Object.create({}, {}) : any
88
- >Object.create : { <T extends object> (o: T | null): object | T ; (o: object | null, properties: PropertyDescriptorMap): any; }
88
+ >Object.create : { (o: object | null): any ; (o: object | null, properties: PropertyDescriptorMap): any; }
89
89
>Object : ObjectConstructor
90
- >create : { <T extends object> (o: T | null): object | T ; (o: object | null, properties: PropertyDescriptorMap): any; }
90
+ >create : { (o: object | null): any ; (o: object | null, properties: PropertyDescriptorMap): any; }
91
91
>{} : {}
92
92
>{} : {}
93
93
94
94
var a = Object.create(<object>{}, {});
95
95
>a : any
96
96
>Object.create(<object>{}, {}) : any
97
- >Object.create : { <T extends object> (o: T | null): object | T ; (o: object | null, properties: PropertyDescriptorMap): any; }
97
+ >Object.create : { (o: object | null): any ; (o: object | null, properties: PropertyDescriptorMap): any; }
98
98
>Object : ObjectConstructor
99
- >create : { <T extends object> (o: T | null): object | T ; (o: object | null, properties: PropertyDescriptorMap): any; }
99
+ >create : { (o: object | null): any ; (o: object | null, properties: PropertyDescriptorMap): any; }
100
100
><object>{} : object
101
101
>{} : {}
102
102
>{} : {}
0 commit comments