1.0.34 • Published 1 year ago

@types/knockout.projections v1.0.34

Weekly downloads
39
License
MIT
Repository
github
Last release
1 year ago

Installation

npm install --save @types/knockout.projections

Summary

This package contains type definitions for knockout-projections (https://github.com/stevesanderson/knockout-projections).

Details

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/knockout.projections.

index.d.ts

// Type definitions for knockout-projections 1.0.0
// Project: https://github.com/stevesanderson/knockout-projections
// Definitions by: John Reilly <https://github.com/johnnyreilly>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 2.3

/// <reference types="knockout" />

interface KnockoutMappedObservableArray<T> extends KnockoutObservableArray<T>, KnockoutSubscription {
}

interface KnockoutObservableArrayFunctions<T> {
    map<TResult>(mappingOptions: {
        mappingWithDisposeCallback: (value: T) => {
            mappedValue: TResult;
            dispose: () => void;
        };
    }): KnockoutMappedObservableArray<TResult>;
    map<TResult>(mappingOptions: {
        mapping: (value: T) => TResult;
        disposeItem?: ((mappedItem: TResult) => void) | undefined;
    }): KnockoutMappedObservableArray<TResult>;
    map<TResult>(mappingOptions: (value: T) => TResult): KnockoutMappedObservableArray<TResult>;
    
    filter(predicate: (value: T) => boolean): KnockoutMappedObservableArray<T>;
}

Additional Details

  • Last updated: Thu, 08 Jul 2021 16:23:18 GMT
  • Dependencies: @types/knockout
  • Global values: none

Credits

These definitions were written by John Reilly.

1.0.34

1 year ago

1.0.33

2 years ago

1.0.32

2 years ago

1.0.31

2 years ago

1.0.30

4 years ago

1.0.29

8 years ago

1.0.28

9 years ago

1.0.27

9 years ago

1.0.26-alpha

9 years ago

1.0.25-alpha

9 years ago

1.0.24-alpha

9 years ago

1.0.23-alpha

9 years ago

1.0.22-alpha

9 years ago

1.0.21-alpha

9 years ago

1.0.20-alpha

9 years ago

1.0.15-alpha

9 years ago

1.0.14-alpha

9 years ago