mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
MapTypeId as of #38084 is defined as a string enum, but all uses of MapTypeId were accidentally left as ``MapTypeId | string`` which looses type information. I updated returns to be strictly MapTypeId, but input still seems to need to be ``MapTypeId | string`` because the TypeScript compiler seems to not recognize that a string with the proper value is a MapTypeId without casting it as such. Changing this would break all consumers and does not seem to make sense to do. |
||
|---|---|---|
| .. | ||
| googlemaps-tests.ts | ||
| index.d.ts | ||
| tsconfig.json | ||
| tslint.json | ||