TypeScript/tests/baselines/reference/detachedCommentAtStartOfFunctionBody1.errors.txt
2014-07-12 17:30:19 -07:00

11 lines
467 B
Plaintext

==== tests/cases/compiler/detachedCommentAtStartOfFunctionBody1.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;
~~~~
!!! Property 'name' does not exist on type 'TestFile'.
}
}