TypeScript/tests/baselines/reference/staticInstanceResolution.types

35 lines
1.6 KiB
Plaintext
Raw Normal View History

2014-08-15 23:33:16 +02:00
=== tests/cases/compiler/staticInstanceResolution.ts ===
class Comment {
2015-04-13 23:01:57 +02:00
>Comment : Comment, Symbol(Comment, Decl(staticInstanceResolution.ts, 0, 0))
2014-08-15 23:33:16 +02:00
public getDocCommentText()
2015-04-13 23:01:57 +02:00
>getDocCommentText : () => void, Symbol(getDocCommentText, Decl(staticInstanceResolution.ts, 0, 15))
2014-08-15 23:33:16 +02:00
{
}
static getDocCommentText(comments: Comment[])
2015-04-13 23:01:57 +02:00
>getDocCommentText : (comments: Comment[]) => void, Symbol(Comment.getDocCommentText, Decl(staticInstanceResolution.ts, 5, 5))
>comments : Comment[], Symbol(comments, Decl(staticInstanceResolution.ts, 7, 29))
>Comment : Comment, Symbol(Comment, Decl(staticInstanceResolution.ts, 0, 0))
2014-08-15 23:33:16 +02:00
{
comments[0].getDocCommentText();
>comments[0].getDocCommentText() : void
2015-04-13 23:01:57 +02:00
>comments[0].getDocCommentText : () => void, Symbol(getDocCommentText, Decl(staticInstanceResolution.ts, 0, 15))
2014-08-15 23:33:16 +02:00
>comments[0] : Comment
2015-04-13 23:01:57 +02:00
>comments : Comment[], Symbol(comments, Decl(staticInstanceResolution.ts, 7, 29))
2015-04-13 21:36:11 +02:00
>0 : number
2015-04-13 23:01:57 +02:00
>getDocCommentText : () => void, Symbol(getDocCommentText, Decl(staticInstanceResolution.ts, 0, 15))
2014-08-15 23:33:16 +02:00
var c: Comment;
2015-04-13 23:01:57 +02:00
>c : Comment, Symbol(c, Decl(staticInstanceResolution.ts, 10, 11))
>Comment : Comment, Symbol(Comment, Decl(staticInstanceResolution.ts, 0, 0))
2014-08-15 23:33:16 +02:00
c.getDocCommentText();
>c.getDocCommentText() : void
2015-04-13 23:01:57 +02:00
>c.getDocCommentText : () => void, Symbol(getDocCommentText, Decl(staticInstanceResolution.ts, 0, 15))
>c : Comment, Symbol(c, Decl(staticInstanceResolution.ts, 10, 11))
>getDocCommentText : () => void, Symbol(getDocCommentText, Decl(staticInstanceResolution.ts, 0, 15))
2014-08-15 23:33:16 +02:00
}
}