@types/abbrev
TypeScript definitions for abbrev
Last updated 9 years ago by types .
MIT · Repository · Original npm · Tarball · package.json
$ cnpm install @types/abbrev 
SYNC missed versions from official npm registry.

Installation

npm install --save @types/abbrev

Summary

This package contains type definitions for abbrev (https://github.com/isaacs/abbrev-js#readme).

Details

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

index.d.ts

// Type definitions for abbrev 1.1
// Project: https://github.com/isaacs/abbrev-js#readme
// Definitions by: BendingBender <https://github.com/BendingBender>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped

export = abbrev;

declare function abbrev(words: ReadonlyArray<abbrev.Abbreviable>): { [abbreviation: string]: string };
declare function abbrev(...words: ReadonlyArray<abbrev.Abbreviable>): { [abbreviation: string]: string };

declare namespace abbrev {
    function monkeyPatch(): void;

    type Abbreviable = string | { toString(): string };
}

declare global {
    interface Array<T> {
        abbrev(): { [abbreviation: string]: string };
    }

    interface ReadonlyArray<T> {
        abbrev(): { [abbreviation: string]: string };
    }

    interface Object {
        abbrev(): { [abbreviation: string]: string };
    }
}

Additional Details

  • Last updated: Sun, 26 Sep 2021 14:31:24 GMT
  • Dependencies: none
  • Global values: none

Credits

These definitions were written by BendingBender.

Current Tags

  • 1.1.2                                ...           latest (5 years ago)
  • 1.1.1                                ...           ts2.0 (7 years ago)
  • 1.1.1                                ...           ts2.1 (7 years ago)
  • 1.1.1                                ...           ts2.2 (7 years ago)
  • 1.1.1                                ...           ts2.3 (7 years ago)
  • 1.1.1                                ...           ts2.4 (7 years ago)
  • 1.1.1                                ...           ts2.5 (7 years ago)
  • 1.1.1                                ...           ts2.6 (7 years ago)
  • 1.1.1                                ...           ts2.7 (7 years ago)
  • 1.1.1                                ...           ts2.8 (7 years ago)
  • 1.1.1                                ...           ts2.9 (7 years ago)
  • 1.1.1                                ...           ts3.0 (7 years ago)
  • 1.1.1                                ...           ts3.1 (7 years ago)
  • 1.1.1                                ...           ts3.2 (7 years ago)
  • 1.1.1                                ...           ts3.3 (7 years ago)
  • 1.1.1                                ...           ts3.4 (7 years ago)
  • 1.1.1                                ...           ts3.5 (7 years ago)
  • 1.1.1                                ...           ts3.6 (7 years ago)
  • 1.1.2                                ...           ts3.7 (5 years ago)
  • 1.1.2                                ...           ts3.8 (5 years ago)
  • 1.1.2                                ...           ts3.9 (5 years ago)
  • 1.1.2                                ...           ts4.0 (5 years ago)
  • 1.1.2                                ...           ts4.1 (5 years ago)
  • 1.1.2                                ...           ts4.2 (5 years ago)
  • 1.1.2                                ...           ts4.3 (5 years ago)
  • 1.1.2                                ...           ts4.4 (5 years ago)
  • 1.1.2                                ...           ts4.5 (5 years ago)
  • 1.1.2                                ...           ts4.6 (5 years ago)
  • 1.1.2                                ...           ts4.7 (5 years ago)
  • 1.1.2                                ...           ts4.8 (5 years ago)
  • 1.1.2                                ...           ts4.9 (5 years ago)
  • 1.1.2                                ...           ts5.0 (5 years ago)
  • 1.1.2                                ...           ts5.1 (5 years ago)

3 Versions

  • 1.1.2                                ...           5 years ago
  • 1.1.1                                ...           7 years ago
  • 1.1.0                                ...           9 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 1
Last Day 0
Last Week 1
Last Month 0
Dependencies (0)
None
Dev Dependencies (0)
None
Dependents (0)
None

Copyright 2013 - present © cnpmjs.org | Home |