* [@types/slate] Update for version 0.47
* [@types/slate-react] Changes Immutable import to just Immutable.List
* Move `rules` property from `Rules` interface to `SchemaProperties` interface
* Fix definitions in slate-react
* Allow passing arbitrary TArgs to all utilities
I'm facing an issue when using `graphql-resolvers` along with `graphqlgen` (for generating resolver types: https://github.com/prisma/graphqlgen). I get correct generated types from `graphqlgen`, but when I try to create a resolver using `combineResolvers`, I get a type error.
Here is an example:
```js
contest: combineResolvers(authHelpers.isAuthenticated, contestResolver)
```
The snippet above gives me this typescript error:
```
Types of parameters 'args' and 'args' are incompatible.
Property 'id' is missing in type 'TArgs' but required in type 'ArgsContest'.
```
Where my `contestResolver` has the type `(parent: undefined, args: QueryResolvers.ArgsContest, ctx: Context, info: GraphQLResolveInfo) => Contest | Promise<Contest>`.
Where `ArgsContests` is
```
export interface ArgsContest {
id: string;
}
```
And my `isAuthenticated` resolver has type `(parent: any, args: any, { me }: Context) => ForbiddenError | undefined`.
Since right now I have no way of passing my own `TArgs` I have no other way but to ignore the error.
With this PR I introduce the ability to pass a generic `TArgs` of my liking that let's me make typescript happy when using `graphqlgen` generated types. If no generic for that argument is passed, then `TArgsDefault` is used, which is equivalent to what the previous typings had.
* Add myself to the contributors list.
Forgot to add myself in the first commit.
* Fix contributors list
Made a mistake adding myself to the list.
* fixing contributors list
For some reason it did not like the multi-line version either.
* correct contributors
* fix linting errors, update graphql-tools
* format type definitions
Added typings for createPaymentMethod
Updates the types for handleCardPayment and handleCardSetup to be in line with the latest api change in react-stripe-elements
* allow to extend http2 Http2ServerResponse, Http2ServerRequest
* fix lint, implicit public constructor
* added constructor signatures for Http2ServerResponse and Http2ServerRequest
* added test for custom req, res in http2, fixed args types
* fixed Http2ServerRequest rawHeaders type
* Initial commit
* Prettier
* 4 spaces here too
* Prettier in the definitions file too
* Once more
* don't believe this is necessary
* Followed common-mistakes
* Add a comment, prettier
* First test failure
* TS version required by geojson
* TS version required by mapbox-gl
* redundant export of interfaces
* jsdoc comment format on 1315
* more test suggestions
* postcommit
* ProgressEvent comes from the js api
* Nicely format these jsdoc comments
* postcommit
* more fixes
* more jsdoc comments, bad interface
* more jsdoc comments
* more comments
* more jsdoc comments
* remove all trailing whitespace
* more comments
* more docs
* whitespace
* postcommit
* so many docs
* more whitespace
* more docs
* more docs
* whitespace
* more tests
* add newline, update tests
* Refactor incorrect tests
* Add export-statements to the exported components
* Add a base-class for prompt-modules
* Externalize the Prompts-type
* Externalize the Separator-class
* Move the ChoiceOption-type to a new namespace "poll"
* Rename the ChoiceOption-type to ChoiceOptions
* Add a choice base-type
* Move ChoiceType to the poll-namespace
* Rename the ChoiceType-type
* Reorder the types
* Convert types to interfaces
* Rename the qeustion-type to "DistinctQuestion"
* Add types for representing optional object-keys
* Add a type for dynamic question-properties
* Fix some question-options
* Ad the `filter`-methjod to the QuestionCommon-interface
* Move uestionCommon to the poll-namespace
* Rename QuestionCommon to Question
* Refactor the question-types
* Refactor the Questions-type
* Rename Questions to QuestionCollection
* Rearrange the namespaces
* Add a type-option to the Question-interface
* Add a ScreenManager-class
* Rework visibility of ScreenManager-members
* Add a Prompt-class
* Force all generic answers to extend Answers
* Add an interface for basic prompts
* Add a PromptConstrructor type
* Add types for the paginator
* Rework the event-submission of prompts
* Fix the type of the run-callback
* Add a generic parameter for the type of answer
* Add types for the Checkbox-prompt
* Make the type of the checkbox-prompt generic
* Add a module for the checkbox-prompt
* Fix js-doc
* Add missing import
* Fix typo
* Add types for the confirm-prompt
* Remove the generic answer-type
* Rework the checkbox-prompt
* Add an editor-prompt
* Add the Choice-class
* Move the choice-class to another directory
* Add a separator-interface
* Fix the separator-class
* Add a choices-class
* Add the separator-type
* Move the objects to the correct location
* Move all external modules to the proper place
* Fix the PromptModule interface
* Convert all internal components to internal modules
* Rework the prompt-type
* Make the choices public
* Fix the editor-prompt
* Move all external modules into the index-file
* Move all remaining modules into the index-file
* Fix incorrect choices-module
* Export the DynamicQuestionProperty
* Add a question-map
* Fix the choicebase-type
* Fix asynchronously fetched question-options
* Improve the handling of choices
* Add an expand-prompt
* Intuitively rework the prompts
* Rework the expand-prompt
* Add the input-prompt
* Add trhe list-prompt
* Refactor all prompts
* Fix incorrect module-export
* Fix the prompt-constructor
* Fix the handling of the question-options
* Add the number-prompt
* Add the password-prompt
* Add the rawlist-prompt
* Add ui-classes
* Add all remaining types
* Fix the generic types
* Remove unnecessary types
* Rework the type-declarations according to tslint
* Complete the docs
* Order the imports
* Add a new author-tag
* Increase the major-version
* Import all unused files
* Fix the AsyncDynamicQuestionProperty
* Improve the docs
* Remove the poll-namespace
* Fix the inquirer-types according to tslint
* Fix dependent type-declarations
* Remove the index-signature from the choice-class
* Fix the constructor of the prompt-ui
* Add tests
* Simplify the PromptCollection-type
* Rearrange the file-header
* Add an interface for the bottom-bar options
* Make the log-stream public
* Complete the docs of the choice-class
* Add a validator-type
* Add a choice-collection type
* Add a Transformer-type
* Fix the PromptModule-type
* Add all inquirer code-examples
* Fix incorrect code
* Rework the way to import the example-files
* Fix dependent types