mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
16 lines
291 B
TypeScript
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);
|