TypeScript/tests/cases/compiler/indexer3.ts

2 lines
114 B
TypeScript
Raw Normal View History

2014-07-13 01:04:16 +02:00
var dateMap: { [x: string]: Date; } = {}
var r: Date = dateMap["hello"] // result type includes indexer using BCT