UNPKG

mattermost-redux

Version:

Common code (API client, Redux stores, logic, utility functions) for building a Mattermost client

4 lines (3 loc) 271 B
export declare function insertWithoutDuplicates<T>(array: T[], item: T, newIndex: number): T[]; export declare function insertMultipleWithoutDuplicates<T>(array: T[], items: T[], newIndex: number): T[]; export declare function removeItem<T>(array: T[], item: T): T[];