14 lines
393 B
Plaintext
14 lines
393 B
Plaintext
tests/cases/compiler/exportAssignmentWithoutIdentifier1.ts(7,10): error TS1003: Identifier expected.
|
|
|
|
|
|
==== tests/cases/compiler/exportAssignmentWithoutIdentifier1.ts (1 errors) ====
|
|
function Greeter() {
|
|
//...
|
|
}
|
|
Greeter.prototype.greet = function () {
|
|
//...
|
|
}
|
|
export = new Greeter();
|
|
~~~
|
|
!!! error TS1003: Identifier expected.
|
|
|