finds.dev

getify/TypL

The Type Linter for JS

View on GitHubHomepage ↗

★ 384JavaScriptMITupdated Nov 2021

// the take

TypL is Kyle Simpson's attempt at a type linter for JavaScript that uses ES6 tagged template literals as its annotation syntax, so annotated code runs without compilation. The idea is to lint type safety without requiring you to migrate to TypeScript or Flow — just add optional annotations and run the checker.

The zero-compilation angle is genuinely interesting: tagged templates are valid JS, so you can run annotated source directly in Node without a build step. The heavy inference approach means you can point it at existing code and get some signal without annotating anything first. Coming from Kyle Simpson, the type coercion opinions are thoughtful — this isn't just TypeScript-lite, it explicitly models JS's actual coercion rules.

Last commit was 2021, and the README itself says 'still in early development' — so this is effectively abandoned vaporware at 384 stars. The tagged-template annotation syntax is awkward in practice and has zero editor tooling support. There are no type definitions for third-party libraries and no ecosystem around it, so you'd be type-checking your own code in a vacuum. At this stage TypeScript wins on every practical dimension: editor support, community, library coverage, and actual completeness.

We read the README, the directory tree and a key source file in June 2026. Nobody pays to be listed. How we judge →

// at a glance

Stars
384
Forks
11
Language
JavaScript
License
MIT
Last commit
11 Nov 2021

// nearby

If TypL isn't quite it.

All repos →