@sammacbeth/types

1.1.1 • Public • Published

This project contains some TypeScript definitions for currently untyped libraries. Definitions may not be complete.

Usage

Hypercore

Add the following to your project's types.d.ts file:

declare module 'hypercore' {
  import Hypercore from "@sammacbeth/types/hypercore"
  export = Hypercore
}

Hyperdrive

declare module 'hyperdrive' {
  import Hyperdrive from '@sammacbeth/types/hyperdrive';
  export = Hyperdrive
}

Readme

Keywords

none

Package Sidebar

Install

npm i @sammacbeth/types

Weekly Downloads

2

Version

1.1.1

License

MIT

Unpacked Size

18.4 kB

Total Files

7

Last publish

Collaborators

  • sammacbeth