* Add missing return types
* try this
* Fix test
* babel core depends on babel traverse
* increase ts version on plugin-macros
* this should be the last one depending on babel/traverse
* try a rerun
* trigger a rerun
* Added missing 'virtualized' and 'bindKeyboard' functions for react-swipeable-views-utils
* Revert "Added missing 'virtualized' and 'bindKeyboard' functions for react-swipeable-views-utils"
This reverts commit a04ff4db27a444480d78d34fe2434231fc6dc066.
* Added missing 'virtualized' and 'bindKeyboard' functions for react-swipeable-views-utils-tests
* Added children prop for `virtualize`
* Fixed `Bind element 'number' has an 'any' type` error
* Fixed `file should end with a newline` error
* test(react): Add failing test for defaultProps/propTypes and forwardRef
* fix(react): forwardRef accepts a special rendering function
* fix(react): deprecate over breaking change
* chore(react): diff hygiene
* chore(react): rendering function -> render function
* feat(react): Actually reject propTyps/defaultProps in forwardRef
* chore(react): explain `never` types in RenderFunction
- update api to be aligned with v5
- create v3 backward compatible version
- corrects problems with the definition to cover expecation from:
nfriendly/express-rate-limit#138
- rewrite tests compared to v3 to cover syntax used by the project
readme
Thansk!
- Base classes `GraphTraversalSource` and `GraphTraversal`steps return `this`
in order to not lose the extensions added by derived DSL classes.
- Generic type `T` is used by `GraphTraversalSource`, and `Statics`
to specificy their steps `GraphTraversal` return type. Defaults to `GraphTraversal`.
- Generic type `S` is used by `AnonymousTraversalSource`, to specify the
underlying `GraphTraversalSource` type. Defaults to `GraphTraversalSource`.
Add DSL tests
Add definitions for `elementMap`
In both the documentation and the IDL for tabCapture chrome uses
the confusing name `MediaStreamConstraint` which is not similar to
the actual `MediaStreamConstraints` browser type. In the IDL the
documentation claims (incorrectly) that it's MediaTrackConstraints,
but there are additional undocumented supported fields so the type
ends up as `object`:
See:
b79156a434/chrome/common/extensions/api/tab_capture.idl (27)
* Add default export to type definition
* Add my name
* Update test
* Commit to prevent bot from auto-closing
* Try other export format
* Add declare
* Change back to export
* Try `export default`
* Add module
* Remove module again
* Fix imports
* Upgrade imports
* Revert imports
* Revert imports
* Try using default instead
* Revert test
Cannot test for a default import
Ref: https://github.com/DefinitelyTyped/DefinitelyTyped/pull/41948#issuecomment-585441968
* Try wrapping in namespace
* Fix or disable linting errors
* Try with different namespace merging
* Fix interface access
* Fix ValidationErrorFunction parameter type
* Fix ValidationErrorFunction parameter type
* Fix ValidationOptions and ErrorReport types for use in error reporting
* Fix prefs type in ErrorReport
* Limit LanguageMessageTemplate interface to publicly consumed props
* Add test for ValidationErrorFunction
* Fix formatting
* Fix return types for filter funcs without callback
according to the docs, you can omit the callback. In this case the function will return a promise containing the filtered array.
http://caolan.github.io/async/v3/docs.html#filter
* [async] callback is obligated when no promise is returned
* Update typings: getOps can have null from or to
The docs for ShareDB clearly state that `from` and `to` arguments in `getOps` are nullable:
> - `from` number: the first op version to fetch. If set to null, then ops will be fetched from the earliest version
> - `to` number: The last op version. This version will not be fetched (ie to is non-inclusive). If set to null, then ops will be fetched up to the latest version
* Add tests and name "Definitions by"
Co-authored-by: petertravelchime <54869620+petertravelchime@users.noreply.github.com>
* react-d3-graph types
This is our first time submitting something to this git repo.
This is the type definition for the node module 'react-d3-graph'.
* Test added
* tests fixed
* Update package.json
* Update react-d3-graph-tests.tsx
* Update package.json
* Delete package.json
* Create tslint.json
* Update index.d.ts
* Update react-d3-graph-tests.tsx
* Update package.json
* Update contibutors
* Update type for Options interface in franc package
As documented here:
https://github.com/wooorm/franc/issues/80
adding this type enables the use of `franc.all` additionally with an `only` languages array when using TypeScript.
Thank you!
* Update index.d.ts
update with recommended simple type declaration
`ERROR: 16:12 array-type Array type using 'Array<T>' is forbidden for simple types. Use 'T[]' instead.`