mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
17 lines
375 B
TypeScript
17 lines
375 B
TypeScript
//// [tests/cases/conformance/es6/destructuring/emptyObjectBindingPatternParameter01.ts] ////
|
|
|
|
//// [emptyObjectBindingPatternParameter01.ts]
|
|
function f({}) {
|
|
var x, y, z;
|
|
}
|
|
|
|
//// [emptyObjectBindingPatternParameter01.js]
|
|
"use strict";
|
|
function f({}) {
|
|
var x, y, z;
|
|
}
|
|
|
|
|
|
//// [emptyObjectBindingPatternParameter01.d.ts]
|
|
declare function f({}: {}): void;
|