TypeScript/tests/baselines/reference/detachedCommentAtStartOfLambdaFunction2.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

32 lines
842 B
Text

=== tests/cases/compiler/detachedCommentAtStartOfLambdaFunction2.ts ===
class TestFile {
>TestFile : TestFile
name: string;
>name : string
foo(message: string): () => string {
>foo : (message: string) => () => string
>message : string
return (...x: string[]) =>
>(...x: string[]) =>
/// <summary>Test summary</summary>
/// <param name="message" type="String" />
/// <returns type="Function" />
message + this.name : (...x: string[]) => string
>x : string[]
/// <summary>Test summary</summary>
/// <param name="message" type="String" />
/// <returns type="Function" />
message + this.name;
>message + this.name : string
>message : string
>this.name : string
>this : TestFile
>name : string
}
}