mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
14 lines
508 B
TypeScript
14 lines
508 B
TypeScript
//// [tests/cases/conformance/classes/classExpressions/classWithStaticFieldInParameterBindingPattern.ts] ////
|
|
|
|
//// [classWithStaticFieldInParameterBindingPattern.ts]
|
|
// https://github.com/microsoft/TypeScript/issues/36295
|
|
(({ [class { static x = 1 }.x]: b = "" }) => {})();
|
|
|
|
//// [classWithStaticFieldInParameterBindingPattern.js]
|
|
"use strict";
|
|
// https://github.com/microsoft/TypeScript/issues/36295
|
|
((_a) => { var _b; var { [(_b = class {
|
|
},
|
|
_b.x = 1,
|
|
_b).x]: b = "" } = _a; })();
|