dotvvm-types 4.1.0-preview12-final → 4.1.0-preview13-final
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/package.json +1 -1
- package/types/index.d.ts +2 -1
package/package.json
CHANGED
package/types/index.d.ts
CHANGED
|
@@ -682,12 +682,13 @@ declare module "translations/sortingHelper" {
|
|
|
682
682
|
}
|
|
683
683
|
declare module "translations/arrayHelper" {
|
|
684
684
|
import { orderBy, orderByDesc } from "translations/sortingHelper";
|
|
685
|
-
export { add, addOrUpdate, addRange, clear, distinct, firstOrDefault, insert, insertRange, lastOrDefault, max, min, orderBy, orderByDesc, removeAll, removeAt, removeFirst, removeLast, removeRange, reverse, setItem };
|
|
685
|
+
export { add, addOrUpdate, addRange, clear, distinct, contains, firstOrDefault, insert, insertRange, lastOrDefault, max, min, orderBy, orderByDesc, removeAll, removeAt, removeFirst, removeLast, removeRange, reverse, setItem };
|
|
686
686
|
function add<T>(observable: any, element: T): void;
|
|
687
687
|
function addOrUpdate<T>(observable: any, element: T, matcher: (e: T) => boolean, updater: (e: T) => T): void;
|
|
688
688
|
function addRange<T>(observable: any, elements: T[]): void;
|
|
689
689
|
function clear(observable: any): void;
|
|
690
690
|
function distinct<T>(array: T[]): T[];
|
|
691
|
+
function contains<T>(array: T[], value: T): boolean;
|
|
691
692
|
function firstOrDefault<T>(array: T[], predicate: (s: T) => boolean): T | null;
|
|
692
693
|
function insert<T>(observable: any, index: number, element: T): void;
|
|
693
694
|
function insertRange<T>(observable: any, index: number, elements: T[]): void;
|