tslib/StrMap.ts: use the proper type for the dictionary

Instead of T[]=[] we now use {[index:string]:string}={} .