type-r2
Version:
Serializable, validated, and observable data layer for modern JS applications
6 lines (5 loc) • 304 B
TypeScript
import { CollectionCore, CollectionOptions, CollectionTransaction } from './commons';
export interface AddOptions extends CollectionOptions {
at?: number;
}
export declare function addTransaction(collection: CollectionCore, items: any[], options: AddOptions, merge?: boolean): CollectionTransaction;