阅读背景:

如何在打字稿中使用c addon

来源:互联网 

I have a c addon(using napi)for nodejs,and i can run it correctly in js code.now i want to use it in typescript,i try to write a .d.ts file but always fail.how can i write a d.ts file correctly? The c addon is a helloworld code like this:I have a c addon(using napi)for nodejs,and i ca




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: