mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
12 lines
197 B
TypeScript
12 lines
197 B
TypeScript
//// [tests/cases/compiler/class2.ts] ////
|
|
|
|
//// [class2.ts]
|
|
class foo { constructor() { static f = 3; } }
|
|
|
|
//// [class2.js]
|
|
"use strict";
|
|
class foo {
|
|
constructor() { }
|
|
}
|
|
foo.f = 3;
|