@bbn/bbn 1.0.42 → 1.0.43

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/bundle.d.ts CHANGED
@@ -133,7 +133,7 @@ declare module "fn/filterToConditions" {
133
133
  }
134
134
  declare module "fn/search" {
135
135
  import { Filter } from "fn/filterToConditions";
136
- const search: (arr: any[], prop: Filter | string | object, val?: any, operator?: number | string, startFrom?: number) => number;
136
+ const search: (arr: any[], prop: string | object | Filter | ((a: any, i: string | number | symbol) => boolean), val?: any, operator?: number | string, startFrom?: number) => number;
137
137
  export { search };
138
138
  }
139
139
  declare module "fn/getRow" {
@@ -153,7 +153,8 @@ declare module "fn/abort" {
153
153
  export { abort };
154
154
  }
155
155
  declare module "fn/filter" {
156
- const filter: (arr: any[], prop: string | object | ((a: any, i: string | number | symbol) => boolean), val?: any, operator?: string) => any[];
156
+ import { Filter } from "fn/filterToConditions";
157
+ const filter: (arr: any[], prop: string | object | Filter | ((a: any, i: string | number | symbol) => boolean), val?: any, operator?: string) => any[];
157
158
  export { filter };
158
159
  }
159
160
  declare module "fn/abortURL" {
@@ -1,2 +1,3 @@
1
- declare const filter: (arr: any[], prop: string | object | ((a: any, i: string | number | symbol) => boolean), val?: any, operator?: string) => any[];
1
+ import { Filter } from './filterToConditions';
2
+ declare const filter: (arr: any[], prop: string | object | Filter | ((a: any, i: string | number | symbol) => boolean), val?: any, operator?: string) => any[];
2
3
  export { filter };
@@ -1,3 +1,3 @@
1
1
  import { Filter } from './filterToConditions';
2
- declare const search: (arr: any[], prop: Filter | string | object, val?: any, operator?: number | string, startFrom?: number) => number;
2
+ declare const search: (arr: any[], prop: string | object | Filter | ((a: any, i: string | number | symbol) => boolean), val?: any, operator?: number | string, startFrom?: number) => number;
3
3
  export { search };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bbn/bbn",
3
- "version": "1.0.42",
3
+ "version": "1.0.43",
4
4
  "description": "Javascript toolkit",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",