TypeScript/tests/baselines/reference/exportAssignmentWithoutIdentifier1.errors.txt
2014-09-11 16:11:08 -07:00

11 lines
287 B
Plaintext

==== tests/cases/compiler/exportAssignmentWithoutIdentifier1.ts (1 errors) ====
function Greeter() {
//...
}
Greeter.prototype.greet = function () {
//...
}
export = new Greeter();
~~~
!!! error TS1003: Identifier expected.