mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
13 lines
471 B
TypeScript
13 lines
471 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
|
|
(({ [class {
|
|
static x = 1;
|
|
}.x]: b = "" }) => { })();
|