mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-04-24 05:06:02 +08:00
12 lines
445 B
TypeScript
12 lines
445 B
TypeScript
// Type definitions for knockout-projections 1.0.0
|
|
// Project: https://github.com/stevesanderson/knockout-projections
|
|
// Definitions by: John Reilly <https://github.com/johnnyreilly>
|
|
|
|
/// <reference path="../knockout/knockout.d.ts" />
|
|
|
|
interface KnockoutObservableArrayFunctions<T> {
|
|
|
|
map<TResult>(mapping: (value: T) => TResult): KnockoutObservableArray<TResult>;
|
|
filter(predicate: (value: T) => boolean): KnockoutObservableArray<T>;
|
|
}
|