Skip to content

Commit a85b896

Browse files
committed
Accept new baselines
1 parent 55b6513 commit a85b896

File tree

27 files changed

+53
-42
lines changed

27 files changed

+53
-42
lines changed

tests/baselines/reference/api/tsserverlibrary.d.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2493,6 +2493,7 @@ declare namespace ts {
24932493
sourceRoot?: string;
24942494
strict?: boolean;
24952495
strictFunctionTypes?: boolean;
2496+
strictBindCallApply?: boolean;
24962497
strictNullChecks?: boolean;
24972498
strictPropertyInitialization?: boolean;
24982499
stripInternal?: boolean;

tests/baselines/reference/api/typescript.d.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2493,6 +2493,7 @@ declare namespace ts {
24932493
sourceRoot?: string;
24942494
strict?: boolean;
24952495
strictFunctionTypes?: boolean;
2496+
strictBindCallApply?: boolean;
24962497
strictNullChecks?: boolean;
24972498
strictPropertyInitialization?: boolean;
24982499
stripInternal?: boolean;

tests/baselines/reference/destructuringParameterDeclaration4.errors.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ tests/cases/conformance/es6/destructuring/destructuringParameterDeclaration4.ts(
4343
a1(...array2); // Error parameter type is (number|string)[]
4444
~~~~~~
4545
!!! error TS2552: Cannot find name 'array2'. Did you mean 'Array'?
46-
!!! related TS2728 /.ts/lib.es5.d.ts:1298:15: 'Array' is declared here.
46+
!!! related TS2728 /.ts/lib.es5.d.ts:1356:15: 'Array' is declared here.
4747
a5([1, 2, "string", false, true]); // Error, parameter type is [any, any, [[any]]]
4848
~~~~~~~~
4949
!!! error TS2322: Type 'string' is not assignable to type '[[any]]'.

tests/baselines/reference/externModule.errors.txt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -69,20 +69,20 @@ tests/cases/compiler/externModule.ts(37,3): error TS2552: Cannot find name 'XDat
6969
var d=new XDate();
7070
~~~~~
7171
!!! error TS2552: Cannot find name 'XDate'. Did you mean 'Date'?
72-
!!! related TS2728 /.ts/lib.es5.d.ts:837:15: 'Date' is declared here.
72+
!!! related TS2728 /.ts/lib.es5.d.ts:895:15: 'Date' is declared here.
7373
d.getDay();
7474
d=new XDate(1978,2);
7575
~~~~~
7676
!!! error TS2552: Cannot find name 'XDate'. Did you mean 'Date'?
77-
!!! related TS2728 /.ts/lib.es5.d.ts:837:15: 'Date' is declared here.
77+
!!! related TS2728 /.ts/lib.es5.d.ts:895:15: 'Date' is declared here.
7878
d.getXDate();
7979
var n=XDate.parse("3/2/2004");
8080
~~~~~
8181
!!! error TS2552: Cannot find name 'XDate'. Did you mean 'Date'?
82-
!!! related TS2728 /.ts/lib.es5.d.ts:837:15: 'Date' is declared here.
82+
!!! related TS2728 /.ts/lib.es5.d.ts:895:15: 'Date' is declared here.
8383
n=XDate.UTC(1964,2,1);
8484
~~~~~
8585
!!! error TS2552: Cannot find name 'XDate'. Did you mean 'Date'?
86-
!!! related TS2728 /.ts/lib.es5.d.ts:837:15: 'Date' is declared here.
86+
!!! related TS2728 /.ts/lib.es5.d.ts:895:15: 'Date' is declared here.
8787

8888

tests/baselines/reference/modularizeLibrary_ErrorFromUsingES6FeaturesWithOnlyES5Lib.errors.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ tests/cases/compiler/modularizeLibrary_ErrorFromUsingES6FeaturesWithOnlyES5Lib.t
4141
Math.sign(1);
4242
~~~~
4343
!!! error TS2551: Property 'sign' does not exist on type 'Math'. Did you mean 'sin'?
44-
!!! related TS2728 /.ts/lib.es5.d.ts:643:5: 'sin' is declared here.
44+
!!! related TS2728 /.ts/lib.es5.d.ts:701:5: 'sin' is declared here.
4545

4646
// Using ES6 object
4747
var o = {

tests/baselines/reference/narrowExceptionVariableInCatchClause.errors.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ tests/cases/conformance/types/any/narrowExceptionVariableInCatchClause.ts(16,17)
2424
err.massage; // ERROR: Property 'massage' does not exist on type 'Error'
2525
~~~~~~~
2626
!!! error TS2551: Property 'massage' does not exist on type 'Error'. Did you mean 'message'?
27-
!!! related TS2728 /.ts/lib.es5.d.ts:904:5: 'message' is declared here.
27+
!!! related TS2728 /.ts/lib.es5.d.ts:962:5: 'message' is declared here.
2828
}
2929

3030
else {

tests/baselines/reference/narrowFromAnyWithInstanceof.errors.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,14 +22,14 @@ tests/cases/conformance/types/any/narrowFromAnyWithInstanceof.ts(22,7): error TS
2222
x.mesage;
2323
~~~~~~
2424
!!! error TS2551: Property 'mesage' does not exist on type 'Error'. Did you mean 'message'?
25-
!!! related TS2728 /.ts/lib.es5.d.ts:904:5: 'message' is declared here.
25+
!!! related TS2728 /.ts/lib.es5.d.ts:962:5: 'message' is declared here.
2626
}
2727

2828
if (x instanceof Date) {
2929
x.getDate();
3030
x.getHuors();
3131
~~~~~~~~
3232
!!! error TS2551: Property 'getHuors' does not exist on type 'Date'. Did you mean 'getHours'?
33-
!!! related TS2728 /.ts/lib.es5.d.ts:693:5: 'getHours' is declared here.
33+
!!! related TS2728 /.ts/lib.es5.d.ts:751:5: 'getHours' is declared here.
3434
}
3535

tests/baselines/reference/narrowFromAnyWithTypePredicate.errors.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,14 +39,14 @@ tests/cases/conformance/types/any/narrowFromAnyWithTypePredicate.ts(33,7): error
3939
x.mesage;
4040
~~~~~~
4141
!!! error TS2551: Property 'mesage' does not exist on type 'Error'. Did you mean 'message'?
42-
!!! related TS2728 /.ts/lib.es5.d.ts:904:5: 'message' is declared here.
42+
!!! related TS2728 /.ts/lib.es5.d.ts:962:5: 'message' is declared here.
4343
}
4444

4545
if (isDate(x)) {
4646
x.getDate();
4747
x.getHuors();
4848
~~~~~~~~
4949
!!! error TS2551: Property 'getHuors' does not exist on type 'Date'. Did you mean 'getHours'?
50-
!!! related TS2728 /.ts/lib.es5.d.ts:693:5: 'getHours' is declared here.
50+
!!! related TS2728 /.ts/lib.es5.d.ts:751:5: 'getHours' is declared here.
5151
}
5252

tests/baselines/reference/parserMemberAccessAfterPostfixExpression1.errors.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,4 @@ tests/cases/conformance/parser/ecmascript5/Expressions/parserMemberAccessAfterPo
1111
!!! error TS1005: ';' expected.
1212
~~~~~~~~
1313
!!! error TS2552: Cannot find name 'toString'. Did you mean 'String'?
14-
!!! related TS2728 /.ts/lib.es5.d.ts:457:15: 'String' is declared here.
14+
!!! related TS2728 /.ts/lib.es5.d.ts:515:15: 'String' is declared here.

tests/baselines/reference/parserS7.2_A1.5_T2.errors.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ tests/cases/conformance/parser/ecmascript5/parserS7.2_A1.5_T2.ts(20,3): error TS
1919
$ERROR('#1: eval("\\u00A0var x\\u00A0= 1\\u00A0"); x === 1. Actual: ' + (x));
2020
~~~~~~
2121
!!! error TS2552: Cannot find name '$ERROR'. Did you mean 'Error'?
22-
!!! related TS2728 /.ts/lib.es5.d.ts:914:15: 'Error' is declared here.
22+
!!! related TS2728 /.ts/lib.es5.d.ts:972:15: 'Error' is declared here.
2323
}
2424

2525
//CHECK#2
@@ -28,7 +28,7 @@ tests/cases/conformance/parser/ecmascript5/parserS7.2_A1.5_T2.ts(20,3): error TS
2828
$ERROR('#2:  var x = 1 ; x === 1. Actual: ' + (x));
2929
~~~~~~
3030
!!! error TS2552: Cannot find name '$ERROR'. Did you mean 'Error'?
31-
!!! related TS2728 /.ts/lib.es5.d.ts:914:15: 'Error' is declared here.
31+
!!! related TS2728 /.ts/lib.es5.d.ts:972:15: 'Error' is declared here.
3232
}
3333

3434

0 commit comments

Comments
 (0)