TypeScript/tests/baselines/reference/detachedCommentAtStartOfConstructor2.types
Sheetal Nandi 6e4d0ef1ef Merge pull request #452 from Microsoft/emitComments
Emit comments in the .js and .d.ts files
2014-08-20 17:07:24 -07:00

35 lines
793 B
Plaintext

=== tests/cases/compiler/detachedCommentAtStartOfConstructor2.ts ===
class TestFile {
>TestFile : TestFile
public message: string;
>message : string
public name: string;
>name : string
constructor(message: string) {
>message : string
/// <summary>Test summary</summary>
/// <param name="message" type="String" />
var getMessage = () => message + this.name;
>getMessage : () => string
>() => message + this.name : () => string
>message + this.name : string
>message : string
>this.name : string
>this : TestFile
>name : string
this.message = getMessage();
>this.message = getMessage() : string
>this.message : string
>this : TestFile
>message : string
>getMessage() : string
>getMessage : () => string
}
}