27 lines
835 B
Text
27 lines
835 B
Text
|
=== tests/cases/compiler/detachedCommentAtStartOfLambdaFunction1.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
|
||
|
}
|
||
|
}
|