Inference and Evolution of TypeScript Declaration Files

By Erik Krogh Kristensen, Anders Møller. 2017

16 citations recorded by the source corpus.

TypeScript is a typed extension of JavaScript that has become widely used. More than 2000 JavaScript libraries now have publicly available TypeScript declaration files, which allows the libraries to be used when programming TypeScript applications. Such declaration files are written manually, however, and they are often lagging behind the continuous development of the libraries, thereby hindering their usability. The existing tool tscheck is capable of detecting mismatches between the libraries and their declaration files, but it is less suitable when creating and evolving declaration files. In this work we present the tools tsinfer and tsevolve that are designed to assist the construction of new TypeScript declaration files and support the co-evolution of the declaration files as the underlying JavaScript libraries evolve. Our experimental results involving major libraries demonstrate that tsinfer and tsevolve are superior to tscheck regarding these tasks and that the tools are sufficiently fast and precise for practical use.

Subfields: Artificial Intelligence, Information Systems, Software, Code Generation & Program Synthesis, Program Analysis & Verification

How researchers see this paper

The researchers whose trusted networks rank it highest, strongest advocate first. Every researcher gets a different order.

In Artificial Intelligence

  1. Erik Krogh Kristensen
  2. Anders Møller
  3. Ming-Ho Yee
  4. Arjun Guha

In Information Systems

  1. Erik Krogh Kristensen
  2. Ming-Ho Yee
  3. Anders Møller
  4. Arjun Guha

In Software

  1. Erik Krogh Kristensen
  2. Ming-Ho Yee
  3. Arjun Guha
  4. Anders Møller

In Code Generation & Program Synthesis

  1. Anders Møller
  2. Erik Krogh Kristensen
  3. Arjun Guha
  4. Ming-Ho Yee

In Program Analysis & Verification

  1. Erik Krogh Kristensen
  2. Anders Møller
  3. Ming-Ho Yee
  4. Arjun Guha

Citations in the corpus