Skip to content

Commit

Permalink
fix(typings): Add "clear" type to collection splice interface
Browse files Browse the repository at this point in the history
  • Loading branch information
alienriver49 committed Nov 30, 2018
1 parent 1aa9c43 commit c16f1f3
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/aurelia-binding.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -187,8 +187,10 @@ export declare interface ICollectionObserverSplice<T = any, K = any> {
* The type of change that has taken place. Valid options are "add", "delete", and "update".
*
* *Note:* "update" is invalid for Set.
*
* *Note:* "clear" is only valid for Map and Set.
*/
type: "add" | "delete" | "update";
type: "add" | "delete" | "update" | "clear";
}

/**
Expand Down

0 comments on commit c16f1f3

Please sign in to comment.