Inference and Evolution of TypeScript Declaration Files
Autor: | Erik Krogh Kristensen, Anders Møller |
---|---|
Přispěvatelé: | Huisman, Marieke, Rubin, Julia |
Jazyk: | angličtina |
Rok vydání: | 2017 |
Předmět: |
business.industry
Computer science Declaration Inference 020207 software engineering Usability 02 engineering and technology JavaScript Return type World Wide Web 020204 information systems 0202 electrical engineering electronic engineering information engineering business computer TypeScript computer.programming_language |
Zdroj: | Kristensen, E K & Møller, A 2017, Inference and Evolution of TypeScript Declaration Files . in M Huisman & J Rubin (eds), Fundamental Approaches to Software Engineering: : 20th International Conference, FASE 2017, Held as Part of the European Joint Conferences on Theory and Practice of Software, ETAPS 2017, Uppsala, Sweden, April 22-29, 2017, Proceedings . vol. 10202, Springer VS, Berlin, Heidelberg, Lecture Notes in Computer Science, vol. 10202, pp. 99-115, Uppsala, Sweden, 22/04/2017 . https://doi.org/10.1007/978-3-662-54494-5_6 Lecture Notes in Computer Science Lecture Notes in Computer Science-Fundamental Approaches to Software Engineering Fundamental Approaches to Software Engineering ISBN: 9783662544938 FASE Fundamental Approaches to Software Engineering-20th International Conference |
ISSN: | 0302-9743 1611-3349 |
Popis: | 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. |
Databáze: | OpenAIRE |
Externí odkaz: |