我已经创建了一个包 npm 用于测试,但安装后我无法检索我的函数的参数
I had created a package npm for test and i can't retrieve the params of my function after install it
[在此处输入图片描述][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**
欢迎您,calsuoile!
你导出库的类型了吗?
上找到有关如何操作的更多信息
[在此处输入图片描述][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**
欢迎您,calsuoile!
你导出库的类型了吗?
上找到有关如何操作的更多信息