* Add autocreate to ConnectionOptions
https://mongoosejs.com/docs/guide.html#autoCreate was not included in types for Mongoose
* Update mongoose-tests.ts
* Update mongoose-tests.ts
* Update index.d.ts
* Fix 'typoTolerance' type in algoliasearch
QueryParameters.typoTolerance accepts boolean and string values but only boolean was specified in its type declaration
* Update types/algoliasearch/index.d.ts
Narrow typoTolerance type declaration
Co-Authored-By: Haroen Viaene <fingebimus@me.com>
* correct openid types
* add tests and update refresh params
* fix linting problems in openid-client
* fix: more lint issues for openid-client
* reformat
* fix: indentation
* running prettier directly to make sure the changes are entirely in line
* add a generic property since TokenSet is composable
* change any to unknown
* remove unused local variable
* fix types for emojiIndex
* run prettier
* bump minor version to latest
* alphabetize exports
* use EmojiSkin as index for EmojiEntry
* move TS 2.9 to support `[index in union]` syntax
* Added missing params to Charge, Customer and related create and update options. Adding Customer Tax Id.
* Fix build errors that aren't caught by `npm run lint stripe`.
The type checking added to the model constructor by richarddd in
26587aa3aa22761c884a
Causes valid code not to pass type checking with not way of allowing it.
As described in issue 37088:
1. It doesn't allow string as source for ObjectId, Date, boolean, nubmer, etc.
2. It doesn't allow settings the constructor type of a document.
All of this are valid use cases for mongoose and the type checking should not
prevent them.
PR 37763 by richarddd tries to solve this issue but it still doesn't allow
string as source for ObjectId.
As shown in https://github.com/DefinitelyTyped/DefinitelyTyped/issues/37088#issuecomment-522889112
Stricter type checking for the source of a document can be a good thing, but the
current solution by richarddd is too complex and doesn't work.
* Add graphql peer dependencies
Apollo has a peer dependency on graphql, but several DT packages don't
install it. This fixes that.
* Bump required TS version to 2.8
* Bump version to 3.0
* Add tests for backbone-relational's exported Store instance
* Add the missing store export to backbone-relational
* Fix the typing of Store.unregister in backbone-relational
* Disable use-default-type-parameter linter rule in backbone-relational
The linter gives an unwarranted error: it complains that Model is the
default type parameter of Collection on line 165, column 41 of the
index.d.ts. While it is true that the default parameter is called
Model, the type in question has been renamed to BModel in the current
module.
* Disable the linter rule in the correct way (see b1deb1c2)