This includes public, private, protected, abstract async and declare already work this way, but it looks like they didn't block the completion list, so I added them to the list too.
36 lines
533 B
TypeScript
36 lines
533 B
TypeScript
//// [asiAbstract.ts]
|
|
abstract
|
|
class NonAbstractClass {
|
|
abstract s();
|
|
}
|
|
|
|
class C2 {
|
|
abstract
|
|
nonAbstractFunction() {
|
|
}
|
|
}
|
|
|
|
class C3 {
|
|
abstract
|
|
}
|
|
|
|
|
|
//// [asiAbstract.js]
|
|
abstract;
|
|
var NonAbstractClass = (function () {
|
|
function NonAbstractClass() {
|
|
}
|
|
return NonAbstractClass;
|
|
})();
|
|
var C2 = (function () {
|
|
function C2() {
|
|
}
|
|
C2.prototype.nonAbstractFunction = function () {
|
|
};
|
|
return C2;
|
|
})();
|
|
var C3 = (function () {
|
|
function C3() {
|
|
}
|
|
return C3;
|
|
})();
|