Files
tsgo/testdata/baselines/reference/submodule/compiler/es5SetterparameterDestructuringNotElided(target=es2015).js

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;
},
};