<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Strict-Mode on Tokenise</title><link>https://tokenise.rosvetic.com/tags/strict-mode/</link><description>Recent content in Strict-Mode on Tokenise</description><generator>Hugo</generator><language>en-gb</language><lastBuildDate>Fri, 30 Oct 2026 11:05:00 +0000</lastBuildDate><atom:link href="https://tokenise.rosvetic.com/tags/strict-mode/index.xml" rel="self" type="application/rss+xml"/><item><title>Move a JavaScript module to strict TypeScript one flag at a time, with the compiler and your tests as the gate</title><link>https://tokenise.rosvetic.com/posts/js-to-strict-typescript-one-flag-at-a-time/</link><pubDate>Fri, 30 Oct 2026 11:05:00 +0000</pubDate><guid>https://tokenise.rosvetic.com/posts/js-to-strict-typescript-one-flag-at-a-time/</guid><description>&lt;p&gt;A 400-line JavaScript module has to become TypeScript, and the obvious plan is to rename every file to &lt;code&gt;.ts&lt;/code&gt;, flip &lt;code&gt;strict&lt;/code&gt; on and let an agent grind through the errors. That plan produces a diff nobody can review. Hundreds of errors arrive at once, the fastest way to silence them is &lt;code&gt;any&lt;/code&gt; or a cast, and somewhere in the pile a &amp;ldquo;fix&amp;rdquo; quietly changes what the function returns.&lt;/p&gt;</description></item></channel></rss>