Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit b38e42e

Browse filesBrowse files
committed
Accept new baselines
1 parent eb7bbfb commit b38e42e
Copy full SHA for b38e42e

12 files changed

+24-24Lines changed: 24 additions & 24 deletions
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎tests/baselines/reference/computedPropertyNames10_ES5.types‎

Copy file name to clipboardExpand all lines: tests/baselines/reference/computedPropertyNames10_ES5.types
+2-2Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ var a: any;
99
>a : any
1010

1111
var v = {
12-
>v : { [x: string]: () => void; [x: number]: () => void; [""](): void; [0](): void; }
13-
>{ [s]() { }, [n]() { }, [s + s]() { }, [s + n]() { }, [+s]() { }, [""]() { }, [0]() { }, [a]() { }, [<any>true]() { }, [`hello bye`]() { }, [`hello ${a} bye`]() { }} : { [x: string]: () => void; [x: number]: () => void; [""](): void; [0](): void; }
12+
>v : { [x: string]: () => void; [x: number]: () => void; [""](): void; [0](): void; [`hello bye`](): void; }
13+
>{ [s]() { }, [n]() { }, [s + s]() { }, [s + n]() { }, [+s]() { }, [""]() { }, [0]() { }, [a]() { }, [<any>true]() { }, [`hello bye`]() { }, [`hello ${a} bye`]() { }} : { [x: string]: () => void; [x: number]: () => void; [""](): void; [0](): void; [`hello bye`](): void; }
1414

1515
[s]() { },
1616
>[s] : () => void
Collapse file

‎tests/baselines/reference/computedPropertyNames10_ES6.types‎

Copy file name to clipboardExpand all lines: tests/baselines/reference/computedPropertyNames10_ES6.types
+2-2Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ var a: any;
99
>a : any
1010

1111
var v = {
12-
>v : { [x: string]: () => void; [x: number]: () => void; [""](): void; [0](): void; }
13-
>{ [s]() { }, [n]() { }, [s + s]() { }, [s + n]() { }, [+s]() { }, [""]() { }, [0]() { }, [a]() { }, [<any>true]() { }, [`hello bye`]() { }, [`hello ${a} bye`]() { }} : { [x: string]: () => void; [x: number]: () => void; [""](): void; [0](): void; }
12+
>v : { [x: string]: () => void; [x: number]: () => void; [""](): void; [0](): void; [`hello bye`](): void; }
13+
>{ [s]() { }, [n]() { }, [s + s]() { }, [s + n]() { }, [+s]() { }, [""]() { }, [0]() { }, [a]() { }, [<any>true]() { }, [`hello bye`]() { }, [`hello ${a} bye`]() { }} : { [x: string]: () => void; [x: number]: () => void; [""](): void; [0](): void; [`hello bye`](): void; }
1414

1515
[s]() { },
1616
>[s] : () => void
Collapse file

‎tests/baselines/reference/computedPropertyNames28_ES5.types‎

Copy file name to clipboardExpand all lines: tests/baselines/reference/computedPropertyNames28_ES5.types
+2-2Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@ class C extends Base {
1212
>super : typeof Base
1313

1414
var obj = {
15-
>obj : { [x: string]: () => void; }
16-
>{ [(super(), "prop")]() { } } : { [x: string]: () => void; }
15+
>obj : { [(super(), "prop")](): void; }
16+
>{ [(super(), "prop")]() { } } : { [(super(), "prop")](): void; }
1717

1818
[(super(), "prop")]() { }
1919
>[(super(), "prop")] : () => void
Collapse file

‎tests/baselines/reference/computedPropertyNames28_ES6.types‎

Copy file name to clipboardExpand all lines: tests/baselines/reference/computedPropertyNames28_ES6.types
+2-2Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@ class C extends Base {
1212
>super : typeof Base
1313

1414
var obj = {
15-
>obj : { [x: string]: () => void; }
16-
>{ [(super(), "prop")]() { } } : { [x: string]: () => void; }
15+
>obj : { [(super(), "prop")](): void; }
16+
>{ [(super(), "prop")]() { } } : { [(super(), "prop")](): void; }
1717

1818
[(super(), "prop")]() { }
1919
>[(super(), "prop")] : () => void
Collapse file

‎tests/baselines/reference/computedPropertyNames30_ES5.types‎

Copy file name to clipboardExpand all lines: tests/baselines/reference/computedPropertyNames30_ES5.types
+2-2Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@ class C extends Base {
1515
>() => { var obj = { // Ideally, we would capture this. But the reference is // illegal, and not capturing this is consistent with //treatment of other similar violations. [(super(), "prop")]() { } }; } : () => void
1616

1717
var obj = {
18-
>obj : { [x: string]: () => void; }
19-
>{ // Ideally, we would capture this. But the reference is // illegal, and not capturing this is consistent with //treatment of other similar violations. [(super(), "prop")]() { } } : { [x: string]: () => void; }
18+
>obj : { [(super(), "prop")](): void; }
19+
>{ // Ideally, we would capture this. But the reference is // illegal, and not capturing this is consistent with //treatment of other similar violations. [(super(), "prop")]() { } } : { [(super(), "prop")](): void; }
2020

2121
// Ideally, we would capture this. But the reference is
2222
// illegal, and not capturing this is consistent with
Collapse file

‎tests/baselines/reference/computedPropertyNames30_ES6.types‎

Copy file name to clipboardExpand all lines: tests/baselines/reference/computedPropertyNames30_ES6.types
+2-2Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@ class C extends Base {
1515
>() => { var obj = { // Ideally, we would capture this. But the reference is // illegal, and not capturing this is consistent with //treatment of other similar violations. [(super(), "prop")]() { } }; } : () => void
1616

1717
var obj = {
18-
>obj : { [x: string]: () => void; }
19-
>{ // Ideally, we would capture this. But the reference is // illegal, and not capturing this is consistent with //treatment of other similar violations. [(super(), "prop")]() { } } : { [x: string]: () => void; }
18+
>obj : { [(super(), "prop")](): void; }
19+
>{ // Ideally, we would capture this. But the reference is // illegal, and not capturing this is consistent with //treatment of other similar violations. [(super(), "prop")]() { } } : { [(super(), "prop")](): void; }
2020

2121
// Ideally, we would capture this. But the reference is
2222
// illegal, and not capturing this is consistent with
Collapse file

‎tests/baselines/reference/computedPropertyNames5_ES5.types‎

Copy file name to clipboardExpand all lines: tests/baselines/reference/computedPropertyNames5_ES5.types
+2-2Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ var b: boolean;
33
>b : boolean
44

55
var v = {
6-
>v : { [x: string]: number; [x: number]: any; [true]: number; }
7-
>{ [b]: 0, [true]: 1, [[]]: 0, [{}]: 0, [undefined]: undefined, [null]: null} : { [x: string]: number; [x: number]: null; [true]: number; }
6+
>v : { [x: number]: any; }
7+
>{ [b]: 0, [true]: 1, [[]]: 0, [{}]: 0, [undefined]: undefined, [null]: null} : { [x: number]: null; }
88

99
[b]: 0,
1010
>[b] : number
Collapse file

‎tests/baselines/reference/computedPropertyNames5_ES6.types‎

Copy file name to clipboardExpand all lines: tests/baselines/reference/computedPropertyNames5_ES6.types
+2-2Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ var b: boolean;
33
>b : boolean
44

55
var v = {
6-
>v : { [x: string]: number; [x: number]: any; [true]: number; }
7-
>{ [b]: 0, [true]: 1, [[]]: 0, [{}]: 0, [undefined]: undefined, [null]: null} : { [x: string]: number; [x: number]: null; [true]: number; }
6+
>v : { [x: number]: any; }
7+
>{ [b]: 0, [true]: 1, [[]]: 0, [{}]: 0, [undefined]: undefined, [null]: null} : { [x: number]: null; }
88

99
[b]: 0,
1010
>[b] : number
Collapse file

‎tests/baselines/reference/computedPropertyNames9_ES5.types‎

Copy file name to clipboardExpand all lines: tests/baselines/reference/computedPropertyNames9_ES5.types
+2-2Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@ function f(x): any { }
1919
>x : any
2020

2121
var v = {
22-
>v : { [x: string]: number; [x: number]: number; [f(true)]: number; }
23-
>{ [f("")]: 0, [f(0)]: 0, [f(true)]: 0} : { [x: string]: number; [x: number]: number; [f(true)]: number; }
22+
>v : { [x: string]: number; [x: number]: number; }
23+
>{ [f("")]: 0, [f(0)]: 0, [f(true)]: 0} : { [x: string]: number; [x: number]: number; }
2424

2525
[f("")]: 0,
2626
>[f("")] : number
Collapse file

‎tests/baselines/reference/computedPropertyNames9_ES6.types‎

Copy file name to clipboardExpand all lines: tests/baselines/reference/computedPropertyNames9_ES6.types
+2-2Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@ function f(x): any { }
1919
>x : any
2020

2121
var v = {
22-
>v : { [x: string]: number; [x: number]: number; [f(true)]: number; }
23-
>{ [f("")]: 0, [f(0)]: 0, [f(true)]: 0} : { [x: string]: number; [x: number]: number; [f(true)]: number; }
22+
>v : { [x: string]: number; [x: number]: number; }
23+
>{ [f("")]: 0, [f(0)]: 0, [f(true)]: 0} : { [x: string]: number; [x: number]: number; }
2424

2525
[f("")]: 0,
2626
>[f("")] : number

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.