Node just added TypeScript support. What does that mean for Deno?
Node 22.6 added TypeScript execution via type stripping (stable in 23.6), which replaces annotations with whitespace but does no type checking, does not handle JSX/TSX, and still relies on tsc and a manually managed tsconfig.json. Deno instead ships an integrated toolchain: SWC strips types, a bundled TypeScript compiler powers `deno check` and the LSP, and fmt, lint, doc and compile all understand TypeScript with zero-config defaults. Deno also supports TSX/JSX, TypeScript in the REPL and Jupyter, and publishing raw TypeScript to JSR without transpilation or separate .d.ts files.
Related posts
- Roll your own JavaScript runtime, pt. 2
Deno mediumAdeptA custom JavaScript runtime built on deno_core gains three capabilities: a fetch op backed by the reqwest crate and registered in the runjs extension, a CLI that takes the script path as its first argument, and TypeScript/TSX support. TypeScript support comes from a custom TsModuleLoader that implements deno_core's ModuleLoader trait. It picks a MediaType from the file extension and uses deno_ast to parse and transpile TS, TSX and JSX into JavaScript before handing the module to JsRuntime. The whole runtime stays around 154 lines of Rust.
- Deno 1.42: Better dependency management with JSR
Deno mediumAdeptDeno 1.42 adds first-class JSR support through new `deno publish` and `deno add` subcommands, which install packages from JSR and npm and write import map entries. It also adds LSP completions for jsr: specifiers and broadens Node compatibility across crypto, worker_threads, fs, http2 and other modules. Further changes include shell improvements in `deno task` (cross-platform shebangs, `$?`, redirects), `deno lint --fix`, and dropping mid-execution type checking under `--check`. Timers were rewritten so creating a million timers takes 1.4s instead of 5.9s with up to 70% less memory, startup is 10% faster on Linux, and `DENO_FUTURE=1` previews Deno 2 removals.
- Deno 1.27: Major IDE Improvements
Deno mediumAdeptDeno 1.27 exposes TypeScript inlay hints through its language server, with configurable hints for parameter names, inferred variable and return types, and enum values, and improves deno.land/x registry completions in editors. npm compatibility gains automatic type pickup from packages, @deno-types and @types/node directives, Node-API native module support behind --allow-ffi, lockfile v2 entries for npm packages, and dist-tag specifiers. Other changes include navigator.language, deno task stabilization with INIT_CWD and fail-fast behavior for async commands, a daily background upgrade check, stabilized Deno APIs, a compact lint report format, V8 10.8, Node 18.12 LTS compatibility, and removal of deprecated standard library APIs.
- Deno 1.23 Release Notes
Deno mediumAdeptDeno 1.23 stops type-checking by default on `deno run`, `deno eval` and `deno cache`, using fast linear-time type-stripping instead, because TypeScript compiler checks are slow and editors already type-check via LSP; `--check` restores the old behavior and `--check=all` covers remote modules. The release also removes the event-loop-blocking `Deno.sleepSync` (with an `Atomics.wait` workaround), makes the file watcher track dynamic imports, adds `--cwd`, redirects and cross-platform `cat`/`xargs` to `deno task`, and returns BigInt for 64-bit FFI values to avoid precision loss. Breaking changes in `std/flags` make array collection and `--no-` negation opt-in via `collect` and `negatable`, and `assertThrows`/`assertRejects` now return the error instead of taking a callback.
- Deno 1.21 Release Notes
Deno mediumAdeptDeno 1.21 adds a `deno check` subcommand and begins a phased plan to disable type checking by default in `deno run`, citing type-check cost as the main startup bottleneck and alignment with the proposed native JS type annotations. Other changes include browser-aligned `reportError` and global `"error"` event handling, cache-based incremental `deno fmt`/`deno lint` (second runs on deno_std drop from ~1.8s to ~0.11s), statistically driven iteration counts and grouped baselines in `deno bench`, and new unstable `Deno.spawn`/`Deno.spawnChild` subprocess APIs built on web streams. The release also brings VSCode extension improvements (config autodiscovery, per-path enablement, Testing API), REPL `--eval-file`, and testing utilities such as BDD, mocking, snapshots and FakeTime.