13 lines
No EOL
572 B
Text
13 lines
No EOL
572 B
Text
==== tests/cases/conformance/parser/ecmascript5/ErrorRecovery/Blocks/parserErrorRecovery_Block3.ts (3 errors) ====
|
|
class C {
|
|
private a(): boolean {
|
|
~~~~~~~
|
|
!!! A function whose declared type is neither 'void' nor 'any' must return a value or consist of a single 'throw' statement.
|
|
|
|
private b(): boolean {
|
|
~~~~~~~
|
|
!!! Statement expected.
|
|
~~~~~~~
|
|
!!! A function whose declared type is neither 'void' nor 'any' must return a value or consist of a single 'throw' statement.
|
|
}
|
|
} |