# @types/knockout.projections

> TypeScript definitions for knockout.projections

Latest version **1.0.34** (published 2024-01-30) · MIT license · 0 weekly downloads

## Install

```sh
npm install @types/knockout.projections
pnpm add @types/knockout.projections
yarn add @types/knockout.projections
bun add @types/knockout.projections
```

## Health

**Score 45/100 (D)** — status: abandoned.

Positive: has types; no vulnerabilities; high maintenance score; popular repo; extremely popular.

Warnings: low downloads; no esm support.

Negative: abandoned.

## Facts

| | |
|---|---|
| Version | 1.0.34 |
| Published | 2024-01-30 |
| First published | 2016-05-17 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 4.2 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 51445 |
| Maintainers | types |

## Links

- npm: https://www.npmjs.com/package/@types/knockout.projections
- Repository: https://github.com/DefinitelyTyped/DefinitelyTyped
- Homepage: https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/knockout.projections
- npm.io page: https://npm.io/package/@types/knockout.projections

## Dependencies (1)

- [@types/knockout](https://npm.io/package/@types/knockout.md) *

## Recent versions

- 1.0.34 (latest) — 2024-01-30
- 1.0.33 (ts4.5) — 2023-11-07
- 1.0.30 (ts3.6) — 2021-07-08
- 1.0.29 (ts2.3) — 2017-11-15
- 1.0.28 (ts2.0) — 2016-09-19
- 1.0.32 — 2023-10-18
- 1.0.31 — 2023-09-14
- 1.0.27 — 2016-07-14
- 1.0.26-alpha — 2016-07-08
- 1.0.25-alpha — 2016-07-04
- 1.0.24-alpha — 2016-07-02
- 1.0.23-alpha — 2016-07-01
- 1.0.22-alpha — 2016-07-01
- 1.0.21-alpha — 2016-05-25
- 1.0.20-alpha — 2016-05-20
- … 2 more at https://npm.io/package/@types/knockout.projections/versions

## README

# 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](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/knockout.projections/index.d.ts)
````ts
/// <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: Tue, 30 Jan 2024 21:35:45 GMT
 * Dependencies: [@types/knockout](https://npmjs.com/package/@types/knockout)

# Credits
These definitions were written by [John Reilly](https://github.com/johnnyreilly).

---
_Source: https://npm.io/package/@types/knockout.projections · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
