Skip to content
This repository has been archived by the owner on May 1, 2019. It is now read-only.

nimiq/core-types

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

44 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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