forked from microsoft/TypeScript
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdependentDestructuredVariablesNoCrash3.types
More file actions
45 lines (42 loc) · 1.08 KB
/
dependentDestructuredVariablesNoCrash3.types
File metadata and controls
45 lines (42 loc) · 1.08 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
//// [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();
>r0Def : any
> : ^^^
>r0 : any
> : ^^^
>r1Def : any
> : ^^^
>as : any
> : ^^^
>string : any
> : ^^^
>r1 : any
> : ^^^
>r2 : any
> : ^^^
>r3Def : any
> : ^^^
>r3 : any
> : ^^^
>(test as number < string > ).ranges() : any
> : ^^^
>(test as number < string > ).ranges : any
> : ^^^
>(test as number < string > ) : boolean
> : ^^^^^^^
>test as number < string > : boolean
> : ^^^^^^^
>test as number < string : boolean
> : ^^^^^^^
>test as number : number
> : ^^^^^^
>test : any
> : ^^^
>string : any
> : ^^^
> : any
> : ^^^
>ranges : any
> : ^^^