mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
20 lines
796 B
Plaintext
20 lines
796 B
Plaintext
//// [tests/cases/compiler/detachedCommentAtStartOfFunctionBody2.ts] ////
|
|
|
|
=== detachedCommentAtStartOfFunctionBody2.ts ===
|
|
class TestFile {
|
|
>TestFile : Symbol(TestFile, Decl(detachedCommentAtStartOfFunctionBody2.ts, 0, 0))
|
|
|
|
foo(message: string): () => string {
|
|
>foo : Symbol(TestFile.foo, Decl(detachedCommentAtStartOfFunctionBody2.ts, 0, 16))
|
|
>message : Symbol(message, Decl(detachedCommentAtStartOfFunctionBody2.ts, 1, 8))
|
|
|
|
/// <summary>Test summary</summary>
|
|
/// <param name="message" type="String" />
|
|
/// <returns type="Function" />
|
|
|
|
return () => message + this.name;
|
|
>message : Symbol(message, Decl(detachedCommentAtStartOfFunctionBody2.ts, 1, 8))
|
|
>this : Symbol(TestFile, Decl(detachedCommentAtStartOfFunctionBody2.ts, 0, 0))
|
|
}
|
|
}
|