7 lines
153 B
TypeScript
7 lines
153 B
TypeScript
//// [tupleElementTypes2.ts]
|
|
function f([a, b]: [number, any]) { }
|
|
|
|
//// [tupleElementTypes2.js]
|
|
function f(_a) {
|
|
var a = _a[0], b = _a[1];
|
|
}
|