[FIXED] I had created a package npm for test and i can't retrieve the params of my function after install it

Issue

[enter image description here][1]

import {addTwo} from 'testrol';
console.log(addTwo('2'));
addTwo(2);

**i publish a npm package for test before publish our packages. When i install it (testrol), i can't see the params of my function when my mouse over**

Solution

Welcome, calsuoile !

Did you export the types of your lib?

You can find more information about how to do it on typescript publishing docs

Answered By – Willian Andrade

Answer Checked By – Mildred Charles (Easybugfix Admin)

Leave a Reply

(*) Required, Your email will not be published