Skip to content

Add types for searchjs filters

Compare
Choose a tag to compare
@taylorjdawson taylorjdawson released this 01 Jun 22:40
· 127 commits to master since this release
acc498c

This release adds types for the searchjs filters. Previously, the type for the filter used in the Config interface was string[]. Aside from the fact that it was the wrong type, it caused issues when using strict typing. Now when using blocknative.configuration() with strict typing, passing the filters object in will have the correct typings.

Changelog:

  • 3.3.4-0.1.0: Add searchjs filter types (#130)
  • Bump browserslist from 4.11.0 to 4.16.6 (#129)