Thursday 16 March 2017

how to create typescript-typings for a JS library

in short:

I have a javascript library for which I have already create the d.ts file what I cannot achieve is how to make it install with the @type/*

details

The repository I am trying to include to my project is https://github.com/thesunlover/javascript-blowfish

I already uploaded it the https://www.npmjs.com/ and I am already installing it via npm install.

My problem is that I don't know how to create the npm install @types/javascript-blowfish to work so that the command executes properly

should I upload the same repository as typings or I should change something in the package.json?



via Искрен Станиславов

No comments:

Post a Comment