@nimiq/core-types

Typescript typings for the Nimiq core library

Stats

StarsIssuesVersionUpdatedCreatedSize
@nimiq/core-types
211.4.23 years ago3 years agoMinified + gzip package size for @nimiq/core-types in KB

Readme

@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" />

If you find any bugs or have a feature request, please open an issue on github!

The npm package download data comes from npm's download counts api and package details come from npms.io.