TypeScript/tests/baselines/reference/exportAssignmentWithoutIdentifier1.types

22 lines
475 B
Plaintext
Raw Normal View History

2015-02-26 01:03:51 +01:00
=== tests/cases/compiler/exportAssignmentWithoutIdentifier1.ts ===
function Greeter() {
>Greeter : () => void
2015-02-26 01:03:51 +01:00
//...
}
Greeter.prototype.greet = function () {
>Greeter.prototype.greet = function () { //...} : () => void
>Greeter.prototype.greet : any
>Greeter.prototype : any
>Greeter : () => void
>prototype : any
2015-02-26 01:03:51 +01:00
>greet : any
>function () { //...} : () => void
//...
}
export = new Greeter();
>new Greeter() : any
>Greeter : () => void
2015-02-26 01:03:51 +01:00