mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
16 lines
326 B
TypeScript
16 lines
326 B
TypeScript
//// [tests/cases/conformance/classes/classDeclarations/classAbstractKeyword/classAbstractAsIdentifier.ts] ////
|
|
|
|
//// [classAbstractAsIdentifier.ts]
|
|
class abstract {
|
|
foo() { return 1; }
|
|
}
|
|
|
|
new abstract;
|
|
|
|
//// [classAbstractAsIdentifier.js]
|
|
"use strict";
|
|
class abstract {
|
|
foo() { return 1; }
|
|
}
|
|
new abstract;
|