* 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>
* [algoliasearch] change module format
TBH I'm not really sure what the difference is, but this doesn't break any tests on my repositories. It was needed to work with `/// reference` imports (cc @samuelbodin)
I also had to remove the Omit type for some reason to rely on the builtin one, I guess that's not too big of a deal?
* update algoliasearch-helper too
* more updates 🙈
* modern module format & revert TS version changes
* Update types/react-instantsearch/index.d.ts
* chore(algoliasearch): clean up definitions
1. remove duplication between lite and main
2. remove all urls (they're mostly outdated, so pointing in the wrong spots
* feat(algoliasearch): add ruleContexts
* chore: fix typo lol
* Added "clickAnalytics" boolean option to Algoliasearch.
The clickAnalytics definition allows us to track clicks using
"search-insights". See: https://www.algolia.com/doc/api-reference/api-parameters/clickAnalytics/
* algoliasearch: Added "clickAnalytics" to tests
* algoliasearch: Bumped version number
Please fill in this template.
- [ ] Use a meaningful title for the pull request. Include the name of the package modified.
- [ ] Test the change in your own code. (Compile and run.)
- [ ] Add or edit tests to reflect the change. (Run with `npm test`.)
- [ ] Follow the advice from the [readme](https://github.com/DefinitelyTyped/DefinitelyTyped/blob/master/README.md#make-a-pull-request).
- [ ] 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:
- [ ] The package does not already provide its own types, or cannot have its `.d.ts` files generated via `--declaration`
- [ ] If this is for an NPM package, match the name. If not, do not conflict with the name of an NPM package.
- [ ] Create it with `dts-gen --dt`, not by basing it on an existing project.
- [ ] `tslint.json` should be present, and `tsconfig.json` should have `noImplicitAny`, `noImplicitThis`, `strictNullChecks`, and `strictFunctionTypes` set to `true`.
If changing an existing definition:
- [ ] Provide a URL to documentation or source code which provides context for the suggested changes: <<url here>>
- [ ] Increase the version number in the header if appropriate.
- [ ] If you are making substantial changes, consider adding a `tslint.json` containing `{ "extends": "dtslint/dt.json" }`.
If removing a declaration:
- [ ] If a package was never on DefinitelyTyped, you don't need to do anything. (If you wrote a package and provided types, you don't need to register it with us.)
- [ ] Delete the package's directory.
- [ ] Add it to `notNeededPackages.json`.