node.js - 使用typescript2和electron时遇到的tsd问题
高洛峰
高洛峰 2017-04-17 14:54:46
0
1
668
高洛峰
高洛峰

拥有18年软件开发和IT教学经验。曾任多家上市公司技术总监、架构师、项目经理、高级软件工程师等职务。 网络人气名人讲师,...

reply all(1)
阿神

I originally wanted to try it, but I didn’t download electron for a long time. But fortunately @types it was downloaded.

Looking at the definitions of electron and nodejs in @types, there are indeed many duplicate classes, but these classes are all defined in different namespaces, so theoretically it is not clear that there are duplicate definitions.

In addition, I tried tsc to compile your code (but my file name is index.ts), and there was no pressure. I don’t know if it’s a problem with electron, but the message looks like it’s a problem during compilation

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template