tracked-instance 1.0.18 → 1.0.19
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.
|
@@ -6,7 +6,7 @@ export interface CollectionItem<Item, Meta = undefined> {
|
|
|
6
6
|
isRemoved: Ref<boolean>;
|
|
7
7
|
isNew: Ref<boolean>;
|
|
8
8
|
}
|
|
9
|
-
export interface Collection<Item, Meta> {
|
|
9
|
+
export interface Collection<Item, Meta = undefined> {
|
|
10
10
|
items: ShallowRef<CollectionItem<Item, Meta>[]>;
|
|
11
11
|
isDirty: ComputedRef<boolean>;
|
|
12
12
|
add: (item: Item, afterIndex?: number) => CollectionItem<Item, Meta>;
|