mirror of
https://github.com/swc-project/swc.git
synced 2024-12-28 08:04:43 +03:00
9 lines
165 B
TypeScript
9 lines
165 B
TypeScript
// https://github.com/microsoft/TypeScript/issues/33857
|
|
// @useDefineForClassFields: true
|
|
// @target: es2015
|
|
"use strict";
|
|
const x = 1;
|
|
class C {
|
|
[x]: string;
|
|
}
|