Permalink
Browse files

fix(typings): Add "clear" type to collection splice interface

  • Loading branch information...
alienriver49 committed Nov 30, 2018
1 parent 1aa9c43 commit c16f1f3aae19726b04fde8ed2573a7da8dc4d874
Showing with 3 additions and 1 deletion.
  1. +3 −1 src/aurelia-binding.d.ts
@@ -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";
}

/**

0 comments on commit c16f1f3

Please sign in to comment.