Introducing Socket Firewall: Free, Proactive Protection for Your Software Supply Chain.Learn More
Socket
Book a DemoInstallSign in
Socket

@nimiq/core-types

Package Overview
Dependencies
Maintainers
8
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@nimiq/core-types

Typescript typings for the Nimiq core library

latest
Source
npmnpm
Version
1.4.2
Version published
Maintainers
8
Created
Source

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

FAQs

Package last updated on 12 Feb 2019

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts