Fixes #93. This is an evolution of #220.
Type inference now supports inferring from string index signatures to numeric index signatures. Fixes #167.