mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
18 lines
356 B
TypeScript
18 lines
356 B
TypeScript
//// [tests/cases/conformance/classes/propertyMemberDeclarations/staticAndNonStaticPropertiesSameName.ts] ////
|
|
|
|
//// [staticAndNonStaticPropertiesSameName.ts]
|
|
class C {
|
|
x: number;
|
|
static x: number;
|
|
|
|
f() { }
|
|
static f() { }
|
|
}
|
|
|
|
//// [staticAndNonStaticPropertiesSameName.js]
|
|
"use strict";
|
|
class C {
|
|
f() { }
|
|
static f() { }
|
|
}
|