* Change reference to React.Component to [react-redux].Component
* Bump verison number to match latest package version?
* No patch version
* Don't pass MergedProps to returned type; extend tests
The done function takes an optional release (boolean) argument that tells whether the client should be released or put back in the pool. From: https://node-postgres.com/api/pool
`
The releaseCallback releases an acquired client back to the pool. If you pass a truthy value in the err position to the callback, instead of releasing the client to the pool, the pool will be instructed to disconnect and destroy this client, leaving a space within itself for a new client.
`
* Fix when.js then() when TResult is a subtype of T
Change the order of .then overrides to deprioritize no generics.
* Move the more specific overload to the top
* Added types for Chai UUID
* Fixed the test file
* Removed the message parameter because it's not implemented in the plugin
* Removed an empty namespace as it was unnecessary
The methods setOption, setOptions, getOption, and getOptions are available
for all core ace components (editor, session, renderer):
https://github.com/ajaxorg/ace/wiki/Configuring-Ace
In commit 19fc8fa756, it was done only for
editor.
Now a dedicated OptionProvider interface is available and core components
interface extends this new one.
* command-line-usage types good default bad
* Type adjustments
export Section, raw optional
* No errors - try remove tslint rule override
* Linting .d.ts works great!
* typings pass all given examples
* Removed type-annotation causing Travis to fail
* Re-added Dvorsky as contributor
Even though the new definitions completely overwrite the old, it was requested that the original author be re-added.
* Fixed a silly, silly mistake - missing comment slashes
* Initial declaration WIP
* Unexplode linter
* Some linting
* More linting
* More linting
This was the last of the low-hanging fruit.
* Use generic string index types
There doesn't seem to be a way to set a "fallback" string index type
so I guess this has to be as generic as necessary.
* Expand stub interfaces
* Get rid of extra declares
These seem to be redundant
* Get rid of extra exports and const enum
This seems to simply work.
* @arangodb/index -> @arangodb
* Escape 'new' attribute to be safe?
* Replace string index types with compositesa
This seems to achieve the behaviour we want:
typeof db.asdfg == ArangoDB.Collection | undefined
typeof db._query == Function
* Both options actually exist
Thanks @Simran-B for clarifying this.
* Remove PlainObject interface
Turns out we actually want `object` as the default type almost
everywhere.
* Bolt down generics
No sense defaulting to object if we don't also enforce extending object.
Also those Documents and Edges might contain literally anything so let's allow that.
* This is probably a hack but at least it works
* Add example stub
* Deduplicate route handler signatures
* Brute force?
This feels wrong. There must be a better way.
* Pass linting
* Possible workaround for globals
* Unnecessary qualifier
* Override NodeJS types
* Add View API
* Slightly more specific graphql types
* Use actual graphql module for types
* Better model manifest/config/deps
* Apparently this doesn't require escaping
* Fix InsertResult
* Functions that always throw should return never?
* Add HttpStatus
* Add Console#logLines
* type to interface
* More example code
* Inline some types
* Inline JwtStorageOptions
* Add sessions middleware example
* Fix aql template string handler