mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
19 lines
400 B
TypeScript
19 lines
400 B
TypeScript
//// [tests/cases/compiler/es5SetterparameterDestructuringNotElided.ts] ////
|
|
|
|
//// [es5SetterparameterDestructuringNotElided.ts]
|
|
const foo = {
|
|
set foo([start, end]: [any, any]) {
|
|
void start;
|
|
void end;
|
|
},
|
|
};
|
|
|
|
//// [es5SetterparameterDestructuringNotElided.js]
|
|
"use strict";
|
|
const foo = {
|
|
set foo([start, end]) {
|
|
void start;
|
|
void end;
|
|
},
|
|
};
|