Skip to content

Commit c37b790

Browse files
committed
Accept new baselines
1 parent b14b24a commit c37b790

File tree

74 files changed

+471
-346
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

74 files changed

+471
-346
lines changed

tests/baselines/reference/ES5SymbolProperty2.errors.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ tests/cases/conformance/Symbols/ES5SymbolProperty2.ts(10,11): error TS2304: Cann
44

55
==== tests/cases/conformance/Symbols/ES5SymbolProperty2.ts (2 errors) ====
66
module M {
7-
var Symbol;
7+
var Symbol: any;
88

99
export class C {
1010
[Symbol.iterator]() { }

tests/baselines/reference/ES5SymbolProperty2.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
//// [ES5SymbolProperty2.ts]
22
module M {
3-
var Symbol;
3+
var Symbol: any;
44

55
export class C {
66
[Symbol.iterator]() { }

tests/baselines/reference/ES5SymbolProperty3.errors.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ tests/cases/conformance/Symbols/ES5SymbolProperty3.ts(4,6): error TS2471: A comp
22

33

44
==== tests/cases/conformance/Symbols/ES5SymbolProperty3.ts (1 errors) ====
5-
var Symbol;
5+
var Symbol: any;
66

77
class C {
88
[Symbol.iterator]() { }

tests/baselines/reference/ES5SymbolProperty3.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
//// [ES5SymbolProperty3.ts]
2-
var Symbol;
2+
var Symbol: any;
33

44
class C {
55
[Symbol.iterator]() { }

tests/baselines/reference/anyPlusAny1.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
//// [anyPlusAny1.ts]
2-
var x;
2+
var x: any;
33
x.name = "hello";
44
var z = x + x;
55

tests/baselines/reference/anyPlusAny1.symbols

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
=== tests/cases/compiler/anyPlusAny1.ts ===
2-
var x;
2+
var x: any;
33
>x : Symbol(x, Decl(anyPlusAny1.ts, 0, 3))
44

55
x.name = "hello";

tests/baselines/reference/anyPlusAny1.types

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
=== tests/cases/compiler/anyPlusAny1.ts ===
2-
var x;
2+
var x: any;
33
>x : any
44

55
x.name = "hello";

tests/baselines/reference/asiPreventsParsingAsTypeAlias01.types

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,10 @@ var Foo;
1010
>Foo : any
1111

1212
type
13-
>type : any
13+
>type : undefined
1414

1515
Foo = string;
16-
>Foo = string : any
16+
>Foo = string : undefined
1717
>Foo : any
18-
>string : any
18+
>string : undefined
1919

tests/baselines/reference/assignmentLHSIsReference.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
//// [assignmentLHSIsReference.ts]
2-
var value;
2+
var value: any;
33

44
// identifiers: variable and parameter
55
var x1: number;

tests/baselines/reference/assignmentLHSIsReference.symbols

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
=== tests/cases/conformance/expressions/assignmentOperator/assignmentLHSIsReference.ts ===
2-
var value;
2+
var value: any;
33
>value : Symbol(value, Decl(assignmentLHSIsReference.ts, 0, 3))
44

55
// identifiers: variable and parameter

0 commit comments

Comments
 (0)