* Fix issue with stampit when using TS to check JavaScript
**Caveat: This has not been tested within a TypeScript library.*** My knowledge of TypeScript is limited, so this has not been tested. hence, I suggest @lummish and/or @koresar review this PR.
## What it's fixing
Currently I get the following error with the vanilla stampit example below, it applies to the `const Fighter = stampit(Character(...` line and TypeScript highlights the problem across the whole function:
```sh
Expected 0-1 arguments, but got 2
```
Example taken from main stampit example.
```JavaScript
import stampit from 'stampit';
const Character = stampit({
props: {
name: null,
health: 100,
},
init({ name = this.name }) {
this.name = name;
},
});
const Fighter = stampit(Character, {
props: {
stamina: 100,
},
init({ stamina = this.stamina }) {
this.stamina = stamina;
},
methods: {
fight() {
console.log(`${this.name} takes a mighty swing!`);
this.stamina--;
},
},
});
```
* Make stampit() more generic
As discussed with @koresar.
* fix types for react-dnd-multi-backend
* remove react-dnd and react-dnd-html5-backend typings
* remove typings for react-dnd-test-backend
* update types for react-dnd-touch-backend
* fix tests for react-dnd-multi-backend
* add to contributors
* Support OuterProps on withState enhancer
Without this, any outer prop types are not handed into the component.
* Add tests withState with explicit outer types
* [oauth2-server] Add error classes
* [oauth2-server] Add code and name to OAuthError - they seem to be set by all subclasses
* [oauth2-server] Add message to OAuthError
* [oauth2-server] validateScope should actually return a string, not an array
* [oauth2-server] correct properties of OAuthError
* `node-fetch`: add test for `Headers.raw`
* `node-fetch`: `Headers.raw`: add `string[]` to index signature value type
* `node-fetch`: `Headers.raw`: add `undefined` to index signature value type
* `node-fetch`: enable `strictNullChecks` and fix errors
* Revert "`node-fetch`: `Headers.raw`: add `undefined` to index signature value type"
This reverts commit 15ad14d72c42fa1f3ba472bc15f38a88230f3a4f.
* Fix expect type format
* Remove string
For `unclick` the handler argument was already marked as optional. As in snapsvg's [implementation of the `un...` methods](https://github.com/adobe-webplatform/Snap.svg/blob/master/src/mouse.js#L340) there is no difference in how the various events are handled, the handler should also be optional for the other event types. I tried this with `undblclick` in particular, and it works as expected (removes all `dblclick` events).
* fix: let jQuery's insertAfter / insertBefore accept JQuery<HTMLElement> as well as HTMLElement
* jquery now requires typescript 2.4
* fix jQuery dts to compile on TypeScript 2.3
* Use correct type for GatewayDestProps component
* Test react-gateway GatewayDest component prop type
* Add another test for react-gateway GatewayDest component prop type