TypeScript/tests/cases/compiler/unusedDestructuring.ts

16 lines
262 B
TypeScript

// @noUnusedLocals: true
// @noUnusedParameters: true
export {};
declare const o: any;
const { a, b } = o;
const { c, d } = o;
d;
const { e } = o;
const { f: g } = o;
const { h } = o, { i } = o;
function f({ a, b }, { c, d }, { e }) {
d;
}