Its proptypes defintion is:
componentTag: PropTypes.oneOfType([PropTypes.string, PropTypes.func]),
But it's used like:
<componentTag className={ itemClass } style={ style }>
Which makes it a component not any old function.
* Add overloads to child_process.spawn for when options.stdio is a tuple of 3
* Update definition to be compatible with older versions of TypeScript
* Fix tslint
Now that `date-fns` has release version `2.0.0` and `react-datepicker`
has updated to depend on the released version, this library should
not require an older version of `date-fns` any more.
* Add FilePondBaseProps.files and export FilePondProps subinterfaces
The `files` property was missing from `FilePondProps`.
Also export all interfaces which `FilePondProps` is extended from so consumers can partially construct them as needed.
* Add tests for react-filepond updates
* Fix react-filepond test
* React-filepond tests: use files from state
* Add a test to jasmine-ajax for RequestStub.andReturn
* Add tests to jasmine-ajax for the missing RequestStub methods
* Add the missing RequestStub methods to jasmine-ajax
* Add myself to the list of jasmine-ajax contributors
* Fix a linter issue in jasmine-ajax
* Address remarks by @sheetalkamat (#37804)
* Add missing parameter to JasmineAjaxRequest.responseError (#37804)
AccessibilityInfo was expanded between RN59 and RN60 to include lots
of accessibility feature information beyond just screen reader status.
This updates the typings to match the docs: https://facebook.github.io/react-native/docs/accessibilityinfo
The old API exists and remains here, marked as deprecated to match react-native
* 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.