- arrayProxy<V, T>(target): {
proxy: T;
rx: Reactive<V[]> & {
set(value: V[]): void;
} & {
deleteAt(index: number): void;
deleteWhere(filter: ((value: V) => boolean)): number;
insertAt(index: number, value: V): void;
onArray(handler: ((changes: Passed<ChangeRecord<number>[]>) => void)): (() => void);
push(value: V): void;
setAt(index: number, value: V): void;
} & Reactive<readonly V[]> & {
last(): readonly V[];
};
} Returns {
proxy: T;
rx: Reactive<V[]> & {
set(value: V[]): void;
} & {
deleteAt(index: number): void;
deleteWhere(filter: ((value: V) => boolean)): number;
insertAt(index: number, value: V): void;
onArray(handler: ((changes: Passed<ChangeRecord<number>[]>) => void)): (() => void);
push(value: V): void;
setAt(index: number, value: V): void;
} & Reactive<readonly V[]> & {
last(): readonly V[];
};
}
proxy: T
rx: Reactive<V[]> & {
set(value: V[]): void;
} & {
deleteAt(index: number): void;
deleteWhere(filter: ((value: V) => boolean)): number;
insertAt(index: number, value: V): void;
onArray(handler: ((changes: Passed<ChangeRecord<number>[]>) => void)): (() => void);
push(value: V): void;
setAt(index: number, value: V): void;
} & Reactive<readonly V[]> & {
last(): readonly V[];
}