V
V
vasIvas2015-09-08 23:01:16
typescript
vasIvas, 2015-09-08 23:01:16

How to write code for libraries that do not have declarations?

I write in jetbrains PhpStorm and set everything up myself, that is, I do not use tasks and ide compilers.
And so I ran into a situation where, for some reason, the library I needed
could not be compatible with its .d.ts declaration.
And on this question - how to write now? If I can't disable this barrier, will I just be forced to rewrite a multi-thousand library? What should I do, I'm on edge :)

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Sergey, 2015-09-09
@vasIvas

rewrite a multi-thousand library?

https://github.com/borisyankov/DefinitelyTyped - that is, there is nothing here?
You don't need to rewrite anything at all, you can just use JS as TS. Or write your own declaration.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question