* Add types for knuth-shuffle
This adds types for the [`knuth-shuffle`](https://www.npmjs.com/package/knuth-shuffle) package.
* Correct return type to be same as passed array
This corrects the return type for the `knuthShuffle` function, as it returns an array of the same type (specifically, the same array!), rather than `void`.
* Correct tests
* Added React Native Share Extension
* Fixed Linting Issues
Fixed linting issues, added tests.
* Fixed other linting issues
Data returns a promise.
* Removed Public from state
Removed public from state.
* Fixes incorrect return types in diff-delta and blob. Should be functions, not direct accessor properties. Also, `rawcontent` returns a wrapper around a Buffer, not a Buffer directly, as `content` does.
* updated package description and version
* fixed missing argument
* Updates jackrabbit types to export namespace for interface and type access. Adds missing options and arguments to a few methods.
* fixed linting issue
* revert changes to jackrabbit
* Creates type definitions for the pagerinc fork of jackrabbit which is the more supported version. The original types for jackrabbit actually don't work, while this one is actually tested.
- remove `pauseOnHover` property
- add `removeAllToasts` and `updateToast` hooks
- mark `callback` option optional in `removeToast` hook
- extends options with `UpdateOptions` variant to provide optional
content property
- rewrite tests to cover all hooks and provider properties
- version bump
Thanks!
* add generic for developer QOL
* add to contributors
* fix types to be correct
* fix ColorParam type in test
* remove unnecessary function
* remove unnecessary generics
* use generic
* update ts version
* Add useUnifiedTopology to ConnectionOptions
useUnifiedTopology is the flag for using the new Server Discovery and Monitoring engine instead of current (deprecated) one.
* Update the tests to include useUnifiedTopology
* Fixes incorrect return types in diff-delta and blob. Should be functions, not direct accessor properties. Also, `rawcontent` returns a wrapper around a Buffer, not a Buffer directly, as `content` does.
* updated package description and version
* fixed missing argument
* Updates jackrabbit types to export namespace for interface and type access. Adds missing options and arguments to a few methods.
* fixed linting issue
* revert changes to jackrabbit
* fix(parse/Object): attributes in constructor should be optional
* refactor(parse/GeoPoint): update constructor params
* feat(parse/Query): add generic attr check for functions
* lint(parse): fix lint issues
* feat(parse/Query): key types for matchesKeyInQuery()
* refactor(parse/Query): add base attrs to query checks
* feat(parse/Query): check type for value params in modifiers
* refactor(parse/Query): remove unnecessary Extract<> from modifiers
* feat(parse/Query): support Pointer for Object attrs in equalTo()
* improve(parse/Query): infer return type for distinct()
* fix(parse/User): attrs param should be optional even for non generic
Template below, this adds `explorer` to the `SwaggerUiOptions` because currently if you try to use this option with swagger-ui-express typescript will throw an error incorrectly.
You can see that [on this line](https://github.com/scottie1984/swagger-ui-express/blob/master/index.js#L148) it's using the `explorer` property from the options object, and is recommend in the [readme](https://github.com/scottie1984/swagger-ui-express/blob/master/README.md) as well, so this is the correct syntax.
`isExplorer = opts.explorer`
- [x] Use a meaningful title for the pull request. Include the name of the package modified.
- [x] Test the change in your own code. (Compile and run.)
- [ ] Add or edit tests to reflect the change. (Run with `npm test`.)
- [x] Follow the advice from the [readme](https://github.com/DefinitelyTyped/DefinitelyTyped/blob/master/README.md#make-a-pull-request).
- [ x Avoid [common mistakes](https://github.com/DefinitelyTyped/DefinitelyTyped/blob/master/README.md#common-mistakes).
- [ ] Run `npm run lint package-name` (or `tsc` if no `tslint.json` is present).
Select one of these and delete the others:
If adding a new definition:
N/A
If changing an existing definition:
- [x] Provide a URL to documentation or source code which provides context for the suggested changes: https://github.com/scottie1984/swagger-ui-express/blob/master/index.js#L148
- [ ] If this PR brings the type definitions up to date with a new version of the JS library, update the version number in the header.
- [ ] If you are making substantial changes, consider adding a `tslint.json` containing `{ "extends": "dtslint/dt.json" }`. If for reason the any rule need to be disabled, disable it for that line using `// tslint:disable-next-line [ruleName]` and not for whole package so that the need for disabling can be reviewed.
* Added type definition for blip-sdk
* - Removed non used test file reference;
- Fixed lint rule errors.
* Added analysis filter parameters
* Fixed linting
* Updated package version
* Removed patch version from header
* add session token to searchOptions
* add to maintainers
* update typescript version
* Update types/react-places-autocomplete/index.d.ts
Co-Authored-By: Andrew M. <r3nya@ya.ru>
Co-authored-by: Andrew M. <r3nya@ya.ru>
This is essential for useful docs for nargs >= 2.
https://docs.python.org/dev/library/argparse.html#metavar says this
about metavar and nargs:
Different values of nargs may cause the metavar to be used multiple
times. Providing a tuple to metavar specifies a different display for
each of the arguments.
* QueryOptions: added refetchIntervalInBackground, refetchOnWindowFocus, initialData
* Removed extra space
* Removed patch version number
* Fixed initialData optional and of type TResult
* checkedChildren and unCheckedChildren are optional
* Update [google__maps]
* Only allow `asPromise()` to be called if client was created with Promise support
* Add explicit type for GoogleMapsClientWithPromise, to remove reliance on Conditional Types
* Apply review comments
* Improved type definitions for react-widgets
* Revert "Improved type definitions for react-widgets"
This reverts commit 39cb0bc135b2771e9910f5eb9ee93e420d6045da.
* Added tests for default exports
* Removed all uses of deprecated React.Props type
* Removed unused interfaces
* Don't import whole React, but only what's needed
* Export all interfaces using the "declare namespace" trick
* Lint ignore (imports are used to verify that exports are available)