mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
16 lines
514 B
TypeScript
16 lines
514 B
TypeScript
//// [tests/cases/conformance/controlFlow/dependentDestructuredVariablesNoCrash2.ts] ////
|
|
|
|
//// [dependentDestructuredVariablesNoCrash2.ts]
|
|
// https://github.com/microsoft/TypeScript/issues/63091
|
|
|
|
function ([undefined, unknown]: string | undefined = undefined)
|
|
|
|
|
|
//// [dependentDestructuredVariablesNoCrash2.js]
|
|
"use strict";
|
|
// https://github.com/microsoft/TypeScript/issues/63091
|
|
|
|
|
|
//// [dependentDestructuredVariablesNoCrash2.d.ts]
|
|
declare function ([undefined, unknown]?: string | undefined): any;
|