Files
tsgo/testdata/baselines/reference/conformance/dependentDestructuredVariablesNoCrash3.js

17 lines
651 B
TypeScript

//// [tests/cases/conformance/controlFlow/dependentDestructuredVariablesNoCrash3.ts] ////
//// [dependentDestructuredVariablesNoCrash3.ts]
// https://github.com/microsoft/TypeScript/issues/63093
const [r0Def, r0, r1Def, as, string, r1, r2, r3Def, r3]: boolean = (test as number < string > ).ranges();
//// [dependentDestructuredVariablesNoCrash3.js]
"use strict";
// https://github.com/microsoft/TypeScript/issues/63093
const [r0Def, r0, r1Def, as, string, r1, r2, r3Def, r3] = (test < string > ).ranges();
//// [dependentDestructuredVariablesNoCrash3.d.ts]
declare const [r0Def, r0, r1Def, as, string, r1, r2, r3Def, r3]: boolean;