TypeScript/tests/cases/compiler/staticInstanceResolution.ts
2018-05-03 14:18:50 -07:00

15 lines
248 B
TypeScript

// @lib: es5
class Comment {
public getDocCommentText()
{
}
static getDocCommentText(comments: Comment[])
{
comments[0].getDocCommentText();
var c: Comment;
c.getDocCommentText();
}
}