11 lines
420 B
Plaintext
11 lines
420 B
Plaintext
==== tests/cases/conformance/parser/ecmascript5/ErrorRecovery/parserModifierOnStatementInBlock1.ts (3 errors) ====
|
|
export function foo() {
|
|
~~~~~~~~~~~~~~~~~~~~~~~
|
|
!!! error TS1148: Cannot compile external modules unless the '--module' flag is provided.
|
|
export var x = this;
|
|
~~~~~~
|
|
!!! error TS1129: Statement expected.
|
|
}
|
|
~
|
|
!!! error TS1128: Declaration or statement expected.
|
|
|