Typescript Static Analysis Hidden Gems - Josh Goldberg - Open Source Developer

Опубликовано: 16 Февраль 2026
на канале: All Things Open
170
3

Presented at All Things Open 2022
Presented by Josh Goldberg

Title: TypeScript Static Analysis Hidden Gems
Abstract: The TypeScript language adds a suite of services around TypeScript code that enable powerful code analyses and automations. But, most developers only use TypeScript lightly at development time. It can do so much more for you!

This talk will present a practical overview of some of the latest and greatest developments in the open source TypeScript tooling space, including:
typescript-eslint: features for finding detecting real bugs in your code, and APIs to let you define organization-specific rules
eslint-plugin-expect-type: a consumer of typescript-eslint's APIs that enables enforcing what types exist in your code
ts-prune: detecting unused code with the power of the type system
TypeStat: converts JavaScript to TypeScript and TypeScript to better TypeScript

This will also cover the TypeScript "program" and "language service" APIs used to power those tools. We'll see how those APIs work together at a high level to provide powerful information to all these tools.

Find more info about All Things Open:
On the web: https://www.allthingsopen.org/
Twitter:   / allthingsopen  
2022 conference: https://2022.allthingsopen.org/