Closed
Description
TypeScript Version: 2.9.2
Search Terms: PropertyKey
keyofStringsOnly
Code
In lib.es5.d.ts
, we have now
declare type PropertyKey = string | number | symbol;
however this seems incorrect if "keyofStringsOnly": true
. So as to observe that setting, it seems like it should be
declare type PropertyKey = keyof any;