Files
tsgo/testdata/baselines/reference/submodule/compiler/controlFlowDestructuringParameters.js

16 lines
291 B
TypeScript

//// [tests/cases/compiler/controlFlowDestructuringParameters.ts] ////
//// [controlFlowDestructuringParameters.ts]
// Repro for #8376
[{ x: 1 }].map(
({ x }) => x
);
//// [controlFlowDestructuringParameters.js]
"use strict";
// Repro for #8376
[{ x: 1 }].map(({ x }) => x);