30 lines
606 B
TypeScript
30 lines
606 B
TypeScript
//// [staticInstanceResolution.ts]
|
|
class Comment {
|
|
|
|
public getDocCommentText()
|
|
{
|
|
|
|
}
|
|
|
|
static getDocCommentText(comments: Comment[])
|
|
{
|
|
comments[0].getDocCommentText();
|
|
var c: Comment;
|
|
c.getDocCommentText();
|
|
}
|
|
}
|
|
|
|
//// [staticInstanceResolution.js]
|
|
var Comment = (function () {
|
|
function Comment() {
|
|
}
|
|
Comment.prototype.getDocCommentText = function () {
|
|
};
|
|
Comment.getDocCommentText = function (comments) {
|
|
comments[0].getDocCommentText();
|
|
var c;
|
|
c.getDocCommentText();
|
|
};
|
|
return Comment;
|
|
})();
|