Skip to Content
0 likes
Find Which TypeScript Compiler Your Project Runs Level: Beginner

Trace a compiler version mismatch, confirm the resolved package path, and make a project-local check catch a deliberate type error.

0 likes
Export Types From a Module Without Runtime Code Level: Intermediate

Compare import type, the inline type keyword and a plain import, and see which ones leave code in the compiled file. After this, a types-only import cannot load a module with side effects.

0 likes
Install @types for a Library That Ships No Types Level: Intermediate

Reproduce the missing declaration error, check whether the library has its own types, install the @types package and prove the types work. After this, you know the fallback when no types package exists.

0 likes
Migrate One Module While Testing Its JavaScript Boundary Level: Advanced

Convert one JavaScript module, catch a lost runtime guard, and verify an unchanged JavaScript caller against the emitted TypeScript build.

0 likes
Diagnose a Stale TypeScript Project-Reference Build Level: Advanced

Reproduce a project-only build that consumes stale shared declarations, rebuild the graph, and verify that an API change reaches its consumer.

0 likes
Hand-Write a .d.ts for a Small JS Helper Level: Advanced

Write a declaration file for a JavaScript helper with a generic function and an overload, then test it with a short file. After this, calls to the helper are checked and the JavaScript stays as it is.