-
Notifications
You must be signed in to change notification settings - Fork 529
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(core): migrate core file to TS (#3984)
* chore(core): migrate core file to TS this depends on: - DefinitelyTyped/DefinitelyTyped#37105 - algolia/algoliasearch-helper-js#739 * chore: undo needless change * chore: add type info * chore(enhanceConfiguration): prevent helper to be superfluously created (#3959) * fix(enhanceConfiguration): create SearchParameters once less * test: add test for hierarchicalFacets this test failed with the old mergeDeep-based enhanceConfiguration * create helpers outside of enhanceConfiguration * chore: more consistent type * getConfiguration now gets called with SearchParameters only * update existing TS widgets to make tsc pass * chore: change conditional style to be more readable * chore: clarify TODO * avoid extra constructor call * chore: go back to old behaviour, test later * chore: remove import * chore: reuse parameters instance * chore: update @types/algoliasearch * chore: move files around * move more (also routing now) * chore: make index' options a subset * chore: undo readability change * chore: remove unusted * chore(configure): make TS pass * Update src/types/widget.ts
- Loading branch information
Showing
17 changed files
with
375 additions
and
278 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.