Skip to content

Commit edd66e5

Browse files
committed
Accept changes from updated error message
1 parent fa57f33 commit edd66e5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/baselines/reference/functionImplementationErrors.errors.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
tests/cases/conformance/functions/functionImplementationErrors.ts(25,16): error TS2355: A function whose declared type is neither 'void' nor 'any' must return a value.
1+
tests/cases/conformance/functions/functionImplementationErrors.ts(25,16): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.
22
tests/cases/conformance/functions/functionImplementationErrors.ts(30,17): error TS2373: Parameter 'n' cannot reference identifier 'm' declared after it.
33
tests/cases/conformance/functions/functionImplementationErrors.ts(35,17): error TS2373: Parameter 'n' cannot reference identifier 'm' declared after it.
44
tests/cases/conformance/functions/functionImplementationErrors.ts(40,1): error TS2839: This condition will always return 'false' since JavaScript compares objects by reference, not value.
@@ -31,7 +31,7 @@ tests/cases/conformance/functions/functionImplementationErrors.ts(40,1): error T
3131
// Function implemetnation with non -void return type annotation with no return
3232
function f5(): number {
3333
~~~~~~
34-
!!! error TS2355: A function whose declared type is neither 'void' nor 'any' must return a value.
34+
!!! error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.
3535
}
3636

3737
var m;

0 commit comments

Comments
 (0)