@types/trashable
TypeScript icon, indicating that this package has built-in type declarations

1.0.2 • Public • Published

Installation

npm install --save @types/trashable

Summary

This package contains type definitions for trashable (https://github.com/hjylewis/trashable#readme).

Details

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

index.d.ts

type TrashablePromise<T> = Promise<T> & { trash: () => void };

declare function makeTrashable<T>(promise: Promise<T>): TrashablePromise<T>;

export = makeTrashable;

Additional Details

  • Last updated: Tue, 07 Nov 2023 15:11:36 GMT
  • Dependencies: none

Credits

These definitions were written by James Lismore.

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
1.0.0438ts2.8
1.0.0438ts2.9
1.0.0438ts3.0
1.0.0438ts3.1
1.0.0438ts3.2
1.0.0438ts3.3
1.0.0438ts3.4
1.0.0438ts3.5
1.0.0438ts3.6
1.0.0438ts3.7
1.0.0438ts3.8
1.0.0438ts3.9
1.0.0438ts4.0
1.0.0438ts4.1
1.0.0438ts4.2
1.0.0438ts4.3
1.0.0438ts4.4
1.0.2208ts5.6
1.0.2208latest
1.0.2208ts4.5
1.0.2208ts4.6
1.0.2208ts4.7
1.0.2208ts4.8
1.0.2208ts4.9
1.0.2208ts5.0
1.0.2208ts5.1
1.0.2208ts5.2
1.0.2208ts5.3
1.0.2208ts5.4
1.0.2208ts5.5
1.0.2208ts5.7

Version History

VersionDownloads (Last 7 Days)Published
1.0.2208
1.0.10
1.0.0438

Package Sidebar

Install

npm i @types/trashable

Weekly Downloads

531

Version

1.0.2

License

MIT

Unpacked Size

2.87 kB

Total Files

5

Last publish

Collaborators

  • types