Closed
Description
Currently, the JSON interface in lib.d.ts declares the following:
parse(text: string, reviver?: (key: any, value: any) => any): any;
However, my understanding is that the spec guaratees a string for the key (see http://www.ecma-international.org/ecma-262/5.1/#sec-15.12.2 paragraph "The abstract operation Walk ... String name ..."), in consequence it could be more specific:
parse(text: string, reviver?: (key: string, value: any) => any): any;