Files
tsgo/testdata/baselines/reference/submodule/compiler/detachedCommentAtStartOfFunctionBody2.errors.txt

15 lines
584 B
Plaintext

detachedCommentAtStartOfFunctionBody2.ts(7,37): error TS2339: Property 'name' does not exist on type 'TestFile'.
==== detachedCommentAtStartOfFunctionBody2.ts (1 errors) ====
class TestFile {
foo(message: string): () => string {
/// <summary>Test summary</summary>
/// <param name="message" type="String" />
/// <returns type="Function" />
return () => message + this.name;
~~~~
!!! error TS2339: Property 'name' does not exist on type 'TestFile'.
}
}