ocilo / skype-http

Unofficial Skype API for Node.js via HTTP
https://ocilo.github.io/skype-http
MIT License
51 stars 24 forks source link

Not compatible with typescript 3 #108

Open aeisenberg opened 5 years ago

aeisenberg commented 5 years ago

It is not possible to compile a program using skype-http and typescript 3. The reason is that you are using an old version of kryo that includes .ts files in the package. And these .ts files are now no longer compilable with standard tsconfig compiler options. I am attaching a package.json and index.js that illustrates the problem.

To reproduce:

  1. download both files into a new directory
  2. npm i
  3. ./node_modules/.bin/tsc

You will get a bunch of compile errors like the ones in compilation-results.txt in the sample project.

To fix this, I believe you will have to upgrade to the latest kryo version, but looks like there are API changes to handle as well.

Sample project.zip