kibana/packages/kbn-securitysolution-list-utils
Frank Hassanabad 5dd68dd7b3
[Security Solutions] Removes deprecated types in kbn-securitysolution-* for newer kbn-es-query types (#106801)
## Summary

Fixes https://github.com/elastic/kibana/issues/105731, by replacing these `any` types:

```json
type IFieldType = any;
type IIndexPattern = any;
type Filter = any;
```

With the types from `es-query` which are:
* IndexPatternFieldBase
* IndexPatternBase
* Filter

Note: I had to do a few creative casting to avoid having to use `FieldSpec` since that is not within the package `es-query` and is not planned to be within that package or another package for at least a while if ever.

### Checklist

- [x] [Unit or functional tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html) were updated or added to match the most common scenarios
2021-07-27 09:12:02 -06:00
..
src [Security Solutions] Removes deprecated types in kbn-securitysolution-* for newer kbn-es-query types (#106801) 2021-07-27 09:12:02 -06:00
BUILD.bazel [Security Solutions] Removes deprecated types in kbn-securitysolution-* for newer kbn-es-query types (#106801) 2021-07-27 09:12:02 -06:00
jest.config.js
package.json
README.md
tsconfig.json

kbn-securitysolution-list-utils

This is where front and backend utilities exist for lists