mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
16 lines
685 B
Plaintext
16 lines
685 B
Plaintext
detachedCommentAtStartOfLambdaFunction1.ts(2,5): error TS2564: Property 'name' has no initializer and is not definitely assigned in the constructor.
|
|
|
|
|
|
==== detachedCommentAtStartOfLambdaFunction1.ts (1 errors) ====
|
|
class TestFile {
|
|
name: string;
|
|
~~~~
|
|
!!! error TS2564: Property 'name' has no initializer and is not definitely assigned in the constructor.
|
|
foo(message: string): () => string {
|
|
return (...x: string[]) =>
|
|
/// <summary>Test summary</summary>
|
|
/// <param name="message" type="String" />
|
|
/// <returns type="Function" />
|
|
message + this.name;
|
|
}
|
|
} |