2014-09-12 22:35:07 +02:00
|
|
|
tests/cases/compiler/exportAssignmentWithoutIdentifier1.ts(7,10): error TS1003: Identifier expected.
|
|
|
|
|
|
|
|
|
2014-07-13 01:04:16 +02:00
|
|
|
==== tests/cases/compiler/exportAssignmentWithoutIdentifier1.ts (1 errors) ====
|
|
|
|
function Greeter() {
|
|
|
|
//...
|
|
|
|
}
|
|
|
|
Greeter.prototype.greet = function () {
|
|
|
|
//...
|
|
|
|
}
|
|
|
|
export = new Greeter();
|
|
|
|
~~~
|
2014-09-12 00:19:57 +02:00
|
|
|
!!! error TS1003: Identifier expected.
|
2014-07-13 01:04:16 +02:00
|
|
|
|