Skip to content

Improving Code Assist with TypeScript #24

Closed

Description

@paulvi

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)

Activity

  1. paulvi commented on Mar 21, 2014

    @paulvi
    MemberAuthor

    A large collection of declaration files for popular JavaScript libraries
    Example https://github.com/borisyankov/DefinitelyTyped/blob/master/node/node.d.ts

  2. removed this from the 0.7 milestone on Mar 21, 2014
  3. added a commit that references this issue on Mar 27, 2014
  4. paulvi commented on May 23, 2014

    @paulvi
    MemberAuthor

    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.

  5. paulvi commented on May 23, 2014

    @paulvi
    MemberAuthor

    ref ternjs/tern#317

    What about if we just use TypeScript definition files to describe external libraries APIs? There are a lot of those on Definitely Typed.

  6. paulvi commented on Jan 11, 2018

    @paulvi
    MemberAuthor

    closing as really really old

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions