mirror of
https://github.com/swc-project/swc.git
synced 2024-12-18 11:11:30 +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;
|
|
}
|