* Bump ts version to fix failing tests
* Fix optional props not merged correctly
* Bump version
* Correct the fix
* Add test for more-general injected props
* Created type-definitons for yoga-layout package
* 331
* Fixed issues according to tslint
* Fixed typo
* fixed file name to match suddenly appeared new file-name-casing rule
* go back to <pkg-name>-tests.ts and disable file-name-casing to false
* Improved react-side-effect Typings
Removed all `any` typings. Added tests which test usage.
* Made Lint Less Permissive
It doesn't need to be so permissive.
* Fixed Whitespace
* Added Typings for Server Stuff
Used a more robust way than suggested in review. Added tests too.
* Fixed Server Types
`peek` can return either a `TServerState` or `TState` when `withSideEffect` is
provided `mapStateOnServer` (based on runtime). `rewind` always returns
`TServerState` when `mapStateOnServer` is provided, otherwise it returns
`TState`.
* Added missing property to AfterSaveRequest
* Update index.d.ts
- TriggerRequest interface matches one from official Parse API docs
- added missing afterFind hook and related AfterFindRequest/AfterFindResponse interfaces
- fixed beforeFind hook signature
* 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