# @types/knockout.editables

> TypeScript definitions for knockout.editables

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

## Install

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

## 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; pre 1.0.

Negative: abandoned.

## Facts

| | |
|---|---|
| Version | 0.9.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 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 51433 |
| Maintainers | types |

## Links

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

## Dependencies (1)

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

## Recent versions

- 0.9.34 (latest) — 2024-01-30
- 0.9.33 (ts4.5) — 2023-11-07
- 0.9.30 (ts2.3) — 2017-11-15
- 0.9.29 (ts2.0) — 2017-08-21
- 0.9.32 — 2023-10-18
- 0.9.31 — 2023-09-14
- 0.9.28 — 2016-09-19
- 0.9.27 — 2016-07-14
- 0.9.26-alpha — 2016-07-08
- 0.9.25-alpha — 2016-07-04
- 0.9.24-alpha — 2016-07-02
- 0.9.23-alpha — 2016-07-01
- 0.9.22-alpha — 2016-07-01
- 0.9.21-alpha — 2016-05-25
- 0.9.20-alpha — 2016-05-20
- … 2 more at https://npm.io/package/@types/knockout.editables/versions

## README

# Installation
> `npm install --save @types/knockout.editables`

# Summary
This package contains type definitions for knockout.editables (http://romanych.github.com/ko.editables/).

# Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/knockout.editables.
## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/knockout.editables/index.d.ts)
````ts
/// <reference types="knockout" />

// bestowed by ko.editable(target)
interface KnockoutEditable {
    addEditable(target: any): any;
    beginEdit(): void;
    commit(): void;
    rollback(): void;
    hasChanges(): boolean;
}

interface KnockoutEditableStatic {
    (viewModel: any, autoInit?: boolean): void;
    beginEdit(scope: string): void;
    commit(scope: string): void;
    rollback(scope: string): void;
    hasChanges(scope: string): boolean;

    // INTERNAL
    // getHasChangesFlag(scope: string): any;
    // enable(object: any, scope: string); void;
}

// extend ko global
interface KnockoutStatic {
    editable: KnockoutEditableStatic;
}

````

### 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 [Boris Yankov](https://github.com/borisyankov).

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