Skip to content

Commit 071e221

Browse files
committed
updated baseline to fit new changes
1 parent 7b299f2 commit 071e221

90 files changed

Lines changed: 1724 additions & 1724 deletions

File tree

Some content is hidden

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

tests/baselines/reference/arithmeticOperatorWithNullValueAndInvalidOperands.errors.txt

Lines changed: 240 additions & 240 deletions
Large diffs are not rendered by default.

tests/baselines/reference/arithmeticOperatorWithNullValueAndValidOperands.errors.txt

Lines changed: 160 additions & 160 deletions
Large diffs are not rendered by default.

tests/baselines/reference/arithmeticOperatorWithOnlyNullValueOrUndefinedValue.errors.txt

Lines changed: 160 additions & 160 deletions
Large diffs are not rendered by default.

tests/baselines/reference/arithmeticOperatorWithUndefinedValueAndInvalidOperands.errors.txt

Lines changed: 240 additions & 240 deletions
Large diffs are not rendered by default.

tests/baselines/reference/arithmeticOperatorWithUndefinedValueAndValidOperands.errors.txt

Lines changed: 160 additions & 160 deletions
Large diffs are not rendered by default.
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
tests/cases/compiler/binaryArithmatic1.ts(1,13): error TS2531: 'null' is possibly 'null'.
1+
tests/cases/compiler/binaryArithmatic1.ts(1,13): error TS2531: Object is possibly 'null'.
22

33

44
==== tests/cases/compiler/binaryArithmatic1.ts (1 errors) ====
55
var v = 4 | null;
66
~~~~
7-
!!! error TS2531: 'null' is possibly 'null'.
7+
!!! error TS2531: Object is possibly 'null'.
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
tests/cases/compiler/binaryArithmatic2.ts(1,13): error TS2532: 'undefined' is possibly 'undefined'.
1+
tests/cases/compiler/binaryArithmatic2.ts(1,13): error TS18047: 'undefined' is possibly 'undefined'.
22

33

44
==== tests/cases/compiler/binaryArithmatic2.ts (1 errors) ====
55
var v = 4 | undefined;
66
~~~~~~~~~
7-
!!! error TS2532: 'undefined' is possibly 'undefined'.
7+
!!! error TS18047: 'undefined' is possibly 'undefined'.
Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
tests/cases/compiler/binaryArithmatic3.ts(1,9): error TS2532: 'undefined' is possibly 'undefined'.
2-
tests/cases/compiler/binaryArithmatic3.ts(1,21): error TS2532: 'undefined' is possibly 'undefined'.
1+
tests/cases/compiler/binaryArithmatic3.ts(1,9): error TS18047: 'undefined' is possibly 'undefined'.
2+
tests/cases/compiler/binaryArithmatic3.ts(1,21): error TS18047: 'undefined' is possibly 'undefined'.
33

44

55
==== tests/cases/compiler/binaryArithmatic3.ts (2 errors) ====
66
var v = undefined | undefined;
77
~~~~~~~~~
8-
!!! error TS2532: 'undefined' is possibly 'undefined'.
8+
!!! error TS18047: 'undefined' is possibly 'undefined'.
99
~~~~~~~~~
10-
!!! error TS2532: 'undefined' is possibly 'undefined'.
10+
!!! error TS18047: 'undefined' is possibly 'undefined'.
Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
tests/cases/compiler/binaryArithmatic4.ts(1,9): error TS2531: 'null' is possibly 'null'.
2-
tests/cases/compiler/binaryArithmatic4.ts(1,16): error TS2531: 'null' is possibly 'null'.
1+
tests/cases/compiler/binaryArithmatic4.ts(1,9): error TS2531: Object is possibly 'null'.
2+
tests/cases/compiler/binaryArithmatic4.ts(1,16): error TS2531: Object is possibly 'null'.
33

44

55
==== tests/cases/compiler/binaryArithmatic4.ts (2 errors) ====
66
var v = null | null;
77
~~~~
8-
!!! error TS2531: 'null' is possibly 'null'.
8+
!!! error TS2531: Object is possibly 'null'.
99
~~~~
10-
!!! error TS2531: 'null' is possibly 'null'.
10+
!!! error TS2531: Object is possibly 'null'.

tests/baselines/reference/bindingPatternCannotBeOnlyInferenceSource.errors.txt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,23 @@
1-
tests/cases/compiler/bindingPatternCannotBeOnlyInferenceSource.ts(2,7): error TS2571: '{} = f()' is of type 'unknown'.
1+
tests/cases/compiler/bindingPatternCannotBeOnlyInferenceSource.ts(2,7): error TS2571: Object is of type 'unknown'.
22
tests/cases/compiler/bindingPatternCannotBeOnlyInferenceSource.ts(3,9): error TS2339: Property 'p1' does not exist on type 'unknown'.
33
tests/cases/compiler/bindingPatternCannotBeOnlyInferenceSource.ts(4,7): error TS2461: Type 'unknown' is not an array type.
4-
tests/cases/compiler/bindingPatternCannotBeOnlyInferenceSource.ts(4,7): error TS2571: '[] = f()' is of type 'unknown'.
4+
tests/cases/compiler/bindingPatternCannotBeOnlyInferenceSource.ts(4,7): error TS2571: Object is of type 'unknown'.
55
tests/cases/compiler/bindingPatternCannotBeOnlyInferenceSource.ts(5,7): error TS2461: Type 'unknown' is not an array type.
66

77

88
==== tests/cases/compiler/bindingPatternCannotBeOnlyInferenceSource.ts (5 errors) ====
99
declare function f<T>(): T;
1010
const {} = f(); // error (only in strictNullChecks)
1111
~~
12-
!!! error TS2571: '{} = f()' is of type 'unknown'.
12+
!!! error TS2571: Object is of type 'unknown'.
1313
const { p1 } = f(); // error
1414
~~
1515
!!! error TS2339: Property 'p1' does not exist on type 'unknown'.
1616
const [] = f(); // error
1717
~~
1818
!!! error TS2461: Type 'unknown' is not an array type.
1919
~~
20-
!!! error TS2571: '[] = f()' is of type 'unknown'.
20+
!!! error TS2571: Object is of type 'unknown'.
2121
const [e1, e2] = f(); // error
2222
~~~~~~~~
2323
!!! error TS2461: Type 'unknown' is not an array type.

0 commit comments

Comments
 (0)