@nimiq/core-types

1.4.2 • Public • Published

@nimiq/core-types

Deprecation Warning

Release v1.4.2 of this package is the last release of @nimiq/core-types, because the types are now included in the @nimiq/core package.

This package provides Typescript types for the Nimiq core library.

A global namespace 'Nimiq' is declared.

Installation

npm install --save-dev @nimiq/core-types

or

yarn add --dev @nimiq/core-types

Usage

Add a .d.ts file to your project folder, e.g. Nimiq.d.ts, and make sure it is included in your .tsconfig. That file should contain:

// tslint:disable-next-line no-reference
/// <reference path="./node_modules/@nimiq/core-types/Nimiq.d.ts" />

Readme

Keywords

none

Package Sidebar

Install

npm i @nimiq/core-types

Weekly Downloads

1

Version

1.4.2

License

Apache-2.0

Unpacked Size

171 kB

Total Files

7

Last publish

Collaborators

  • mraveux
  • nimiq-network
  • sisou
  • styppo
  • mnimiq
  • cb5890
  • jeffesquivels
  • danimoh