mirror of
https://github.com/FlipsideCrypto/DefinitelyTyped.git
synced 2026-02-06 10:56:53 +00:00
Missing function declaration for knockout.
The destroy(function() {...}) was missing inside knockout declarations.
This commit is contained in:
parent
b9b6d6b3d5
commit
e0ffa8d04d
3
knockout/knockout.d.ts
vendored
3
knockout/knockout.d.ts
vendored
@ -1,6 +1,6 @@
|
||||
// Type definitions for Knockout v3.2.0-beta
|
||||
// Project: http://knockoutjs.com
|
||||
// Definitions by: Boris Yankov <https://github.com/borisyankov/>, Igor Oleinikov <https://github.com/Igorbek/>
|
||||
// Definitions by: Boris Yankov <https://github.com/borisyankov/>, Igor Oleinikov <https://github.com/Igorbek/>, Clément Bourgeois <https://github.com/moonpyk/>
|
||||
// Definitions: https://github.com/borisyankov/DefinitelyTyped
|
||||
|
||||
|
||||
@ -38,6 +38,7 @@ interface KnockoutObservableArrayFunctions<T> {
|
||||
removeAll(): T[];
|
||||
|
||||
destroy(item: T): void;
|
||||
destroy(destroyFunction: (item: T) => boolean): void;
|
||||
destroyAll(items: T[]): void;
|
||||
destroyAll(): void;
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user