Proceedings of the 2014 ACM International Conference on Object Oriented Programming Systems Languages &Amp; Applications 2014
DOI: 10.1145/2660193.2660215
|View full text |Cite
|
Sign up to set email alerts
|

Checking correctness of TypeScript interfaces for JavaScript libraries

Abstract: The TypeScript programming language adds optional types to JavaScript, with support for interaction with existing JavaScript libraries via interface declarations. Such declarations have been written for hundreds of libraries, but they can be difficult to write and often contain errors, which may affect the type checking and misguide code completion for the application code in IDEs.We present a pragmatic approach to check correctness of TypeScript declaration files with respect to JavaScript library implementat… Show more

Help me understand this report

Search citation statements

Order By: Relevance

Paper Sections

Select...
4
1

Citation Types

0
6
0

Year Published

2015
2015
2024
2024

Publication Types

Select...
4
4
1

Relationship

1
8

Authors

Journals

citations
Cited by 34 publications
(8 citation statements)
references
References 12 publications
0
6
0
Order By: Relevance
“…TSInfer and TSEvolve are presented as part of TSTools [8]. Both tools are the continuation of TSCheck [5], a tool for detecting mismatches between a declaration file and the implementation of the module.…”
Section: Related Workmentioning
confidence: 99%
See 1 more Smart Citation
“…TSInfer and TSEvolve are presented as part of TSTools [8]. Both tools are the continuation of TSCheck [5], a tool for detecting mismatches between a declaration file and the implementation of the module.…”
Section: Related Workmentioning
confidence: 99%
“…The NPM package glob-to-regexp provides functionality to turn a glob expression for matching filenames in the shell into a regular expression 5 . It has about 9.9M weekly downloads and 188 NPM packages depend on it.…”
Section: Motivating Examplementioning
confidence: 99%
“…The existing literature covers a wide range of analysis techniques for JavaScript programs, including: type systems [Anderson et al 2005;Bierman et al 2014;Feldthaus and Mùller 2014;Jensen et al 2009;Microsoft 2014;Rastogi et al 2015;Thiemann 2005], control flow analysis [Feldthaus et al 2013], pointer analysis [Jang and Choe 2009;Sridharan et al 2012] and abstract interpretation [Andreasen and Mùller 2014;Jensen et al 2009;Kashyap et al 2014;Park and Ryu 2015], among others. In contrast, there has been comparatively little work on logic-based verification of JavaScript programs.…”
Section: Related Workmentioning
confidence: 99%
“…Feldthaus et al's TSCHECK [10] is a tool to check the correctness of TypeScript interfaces for JavaScript libraries. TSCHECK discovers a library's API by taking a snapshot after executing the library's top-level code.…”
Section: Related Workmentioning
confidence: 99%