Closed paulvi closed 6 years ago
A large collection of declaration files for popular JavaScript libraries Example https://github.com/borisyankov/DefinitelyTyped/blob/master/node/node.d.ts
All JavaScript engines for IDE spend a lot of efforts guessing type of JavaScript variable.
I believe with some Java parser for TypeScript and with over 100+ libraries descriptions https://github.com/borisyankov/DefinitelyTyped it would be possible to give quick implementation for simple completions for those libraries.
ref https://github.com/marijnh/tern/issues/317
What about if we just use TypeScript definition files to describe external libraries APIs? There are a lot of those on Definitely Typed.
closing as really really old
Related to #7 .
JavaScript lacks type definition. This problem is address in Microsoft TypeScript language. As I understand, they also provide files for common libraries with that information. The idea is to get those files and check if we can get some useful result from them (in a quick way)