JavaScript Congress β€’ Nov 25, 2021

Do TypeScript without TypeScript

Simone Sanfratello

Want TypeScript's safety without the tedious transpilation step? Learn how to achieve robust type checking and fast iteration loops in plain JavaScript using JSDoc annotations.

Pause
Mute Enter Fullscreen
#1 about 2 min

History of static type checking in JavaScript

How tools like JSLint, Closure Compiler, and TypeScript evolved to handle code integrity constraints.

#2 about 4 min

The purpose of explicit types in software

Why strong typing prevents unexpected runtime casting and helps developers understand complex data structures.

#3 about 3 min

Validating inputs and testing application logic

How input validation and testing layers catch complex runtime behaviors that static typing often misses.

#4 about 1 min

Misconceptions about TypeScript safety capabilities

Recognizing that static models prevent trivial bugs but cannot protect against business logic flaws or security vulnerabilities.

#5 about 7 min

Evaluating TypeScript benefits and project drawbacks

How adopting modern language servers provides IDE support but introduces transpilation wait times and rigid compiler configurations.

#6 about 3 min

Gaining TypeScript benefits using JSDoc alternatives

How combining standard comments with dedicated language extensions separates type checking from code execution without compilation overhead.

#7 about 3 min

Configuring projects for JSDoc type validation

Setting up standard configuration files to allow legacy code, enforce strict evaluation, and emit dedicated type interfaces.

#8 about 9 min

Applying JSDoc types to JavaScript logic

Adding model annotations to script functions to trigger editor warnings while maintaining immediate application execution speeds.

#9 about 14 min

Addressing JSDoc limitations and testing strategy

Addressing community questions around documentation constraints like module exports, legacy variable handling, and skipping evaluations on test suites.

Matching moments

2:00 min

The origins and early problems solved by TypeScript

Dani Coll Dani Coll Β· WWC Europe 2026

7:13 min

Evaluating benefits and trade-offs of using TypeScript

Phil Nash Β· WWC 2023

2:28 min

Exploring the benefits of type safety and TypeScript migration

Chris Heilmann +2 Β· LIVE

2:51 min

Deciding when to adopt or avoid TypeScript

Rob Richardson Β· LIVE

2:52 min

The popularity and benefits of TypeScript

Marco Podien Marco Podien Β· WWC 2025

9:52 min

Safely migrating legacy JavaScript codebases to strict TypeScript

Chris Heilmann +2 Β· LIVE

Upcoming sessions on this topic

Open session

World Congress 2026 North America

When Humans Stop Writing Code: Rethinking Languages, Compilers, and Responsibility

Simon Auer

Organizer of flutter vienna meetup and CEO of marqably

Simon Auer
Open session

World Congress 2026 North America

One Repo, One Strategy: Scalable Full-Stack Testing in a Monorepo World

Bartosz Leczycki, PaweΕ‚ Matynia

Bartosz Leczycki
PaweΕ‚ Matynia
Open session

World Congress 2026 North America

Architecting AI in Angular: WebMCP, A2UI, and the Agent Experience

Ankita Sood

Sr. Principal Engineer @ Secureworks | Angular GDE

Ankita Sood
Open session

World Congress 2026 North America

Don’t kill my Vibes - Simple Steps to Stay Secure when Vibe Coding

Isaac Evans

Co-founder & CEO of Semgrep

Isaac Evans
Open session

World Congress 2026 North America

Testing React Backends Like a Pro: Mocking Databases with SQLite

David Morris

Solution Architect

David Morris
Open session

World Congress 2026 North America

The Broken Rung: How AI is Rebuilding Software Development from the Ground Up

Tomislav Tipurić

Chief Technology Officer, Nephos

Tomislav Tipurić