mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
22 lines
464 B
TypeScript
22 lines
464 B
TypeScript
//// [tests/cases/compiler/computedPropertiesTransformedInOtherwiseNonTSClasses.ts] ////
|
|
|
|
//// [computedPropertiesTransformedInOtherwiseNonTSClasses.ts]
|
|
namespace NS {
|
|
export const x = Symbol();
|
|
|
|
class NotTransformed {
|
|
[NS.x]: number;
|
|
}
|
|
}
|
|
|
|
|
|
//// [computedPropertiesTransformedInOtherwiseNonTSClasses.js]
|
|
"use strict";
|
|
var NS;
|
|
(function (NS) {
|
|
NS.x = Symbol();
|
|
class NotTransformed {
|
|
}
|
|
NS.x;
|
|
})(NS || (NS = {}));
|