TypeScript/tests/cases/compiler/classDeclarationCheckUsedBeforeDefinitionInItself.ts

4 lines
70 B
TypeScript
Raw Normal View History

2017-03-21 15:26:47 +01:00
// @target: es6
class C3 {
static intance = new C3(); // ok
}