Skip to content

Commit c22d21f

Browse files
Merge pull request #688 from ordami/issues/687
fix(typings): accept Set<any> for collectionObserver
2 parents d98668e + 87ca285 commit c22d21f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/aurelia-binding.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -779,7 +779,7 @@ export declare class BindingEngine {
779779
/**
780780
* Gets an observer for collection mutation.
781781
*/
782-
collectionObserver(collection: Array<any> | Map<any, any>): CollectionObserver;
782+
collectionObserver(collection: Array<any> | Map<any, any> | Set<any>): CollectionObserver;
783783
/**
784784
* Gets an observer for a javascript expression that accesses a property on the binding context.
785785
* @param bindingContext The binding context (view-model)

0 commit comments

Comments
 (0)