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