7 lines
156 B
Text
7 lines
156 B
Text
=== tests/cases/compiler/stringHasStringValuedNumericIndexer.ts ===
|
|
var str: string = ""[0];
|
|
>str : string
|
|
>""[0] : string
|
|
>"" : string
|
|
>0 : number
|
|
|