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.
Chai allows passing a single argument to its increase,
decrease and change tests:
```ts
let y;
expect(() => { y += 1 }).to.increase(() => y);
```
The type definitions of PropertyChange, used by the three
tests mentionds, did not allow passing a single argument.
* Add a sameSite attribute to SessionOptions in koa-generic-session
* Update types/koa-generic-session/index.d.ts
Co-Authored-By: Orta <orta.therox+github@gmail.com>
* Fix Link type.
* Fix Link type.
* MenuLinkName is technically optional... impl is a bit strange.
* UI Shell link change.
* Improve tests.
* Lint fix.
- Fix PlaceDetailsResult.vicinity being a decimal instead of string
- Move weekday_text from PlaceDetailsResult.opening_hours.periods.weekday_text to PlaceDetailsResult.opening_hours.weekday_text
* [cookies] Added breaking test for Cookies.set
* [cookies] Fix Cookies.set sig for omitting `value`
When omitting the `value` parameter the signature assumes you have omitted the `opts` parameter and causes an error
because the types don't match
* Added type definitions for "ineum"
ineum is the global object used by the Instana Website Monitoring API (https://docs.instana.io/products/website_monitoring/api/) to collect different kinds of information from websites/apps.
* Added tests and fixed header lint issue
* Fixed test file and added minimum TS version
* Merged definitions with same signature, added dummy version number
* Made userName and userEmail optional
* Removed unnecessary type reference
* move 'countBy' tests to separate file
* move 'curry' tests to separate file
* move 'dec' tests to separate file
* move 'defaultTo' tests to separate file
* move 'difference' tests to separate file
* move 'differenceWith' tests to separate file
* move 'dissoc' tests to separate file
* move 'dissocPath' tests to separate file
* move 'drop' tests to separate file
* move 'dropLast' tests to separate file
* move 'divide' tests to separate file
* move 'dropLastWhile' tests to separate file
* move 'dropRepeats' tests to separate file
* move 'dropRepeatsWith' tests to separate file
* move 'either' tests to separate file
* move 'empty' tests to separate file
* move 'endsWith' tests to separate file
* move 'dropWhile' tests to separate file
* move 'eqBy' tests to separate file
* move 'eqProps' tests to separate file
* move 'equals' tests to separate file
* move 'evolve' tests to separate file
* Narrower typing for getOption and setOption
* Add "div" to CoordsMode (not documented in manual, but present in source code)
* Move catchall on/off below ones with explicit names so that handler arguments get correct typing
* Narrow type of event parameter for DOMEvent handler
* Fix string type accidentally left unnarrowed
* Allow for discrimination on options for specific geocoder providers
This allows for clearer identification of which options are required for which provider, including which parameters are mandatory. I only covered the most distinct providers (here, ism, odf, agol, smartystreets, google) as the others are more generic
This also adds the `production` option used in HERE
* Remove patch from version