Remco Haszing
banner
remcohaszing.nl
Remco Haszing
@remcohaszing.nl
Open source software developer, cat servant, coffee to code converter, metalhead 🤘

https://remcohaszing.nl
https://github.com/remcohaszing
Reposted by Remco Haszing
I published a TypeScript content mapper for CSS modules. This gives you type-safety and definitions when importing CSS in TypeScript.

github.com/remcohaszing...
September 6, 2026 at 9:10 AM
Can characters be escaped in code blocks in JSDoc comments?

I want something like this:

/**
* ```js
* /* This is a comment inside a code block inside a comment */
* ```
*/

It only has to work for TypeScript, not every JSDoc tool out there.
September 7, 2026 at 1:52 PM
I published a TypeScript content mapper for CSS modules. This gives you type-safety and definitions when importing CSS in TypeScript.

github.com/remcohaszing...
September 6, 2026 at 9:10 AM
Reposted by Remco Haszing
I'm declaring TypeScript 7 for Ember: ready

At work, on the 3 million line monolithic package, I'm seeing
~ 4m40s -> 12s

a ✨ 23x ✨ speed boost
September 3, 2026 at 7:35 PM
`assert()` style test assertions are so much better than `expect()`.

I really don’t mind the stylistic choice. But `assert()` style assertions help TypeScript narrow down types, whereas `expect()` style assertions can’t do that.
September 2, 2026 at 10:54 AM
How do people feel about showing 2 LSP definitions for 1 character?

I really like how definitions are working out for headers, strong, etc. But in case of markdown lists, the <ul> is defined by the same token that creates the <li>
August 31, 2026 at 5:18 PM
Reposted by Remco Haszing
webpack 5.110.0 🎉

⚡ New performance hints suite
🎨 Native CSS is the way forward — css-loader, style-loader & mini-css-extract-plugin deprecated
🗜️ Built-in CSS & HTML minification
📦 nodeModules externals preset
🌳 Better tree shaking & scope hoisting

webpack.js.org/blog/2026-08...
Webpack 5.110 | webpack
webpack is a module bundler. Its main purpose is to bundle JavaScript files for usage in a browser, yet it is also capable of transforming, bundling, or packaging just about any resource or asset.
webpack.js.org
August 29, 2026 at 10:32 PM
I’m now seeing type definitions, hover info, type errors, etc, for h1-h6 headers in MDX that are overridden in mdx-components.tsx

This uses the TypeScript content mapper Atom span maps. I believe Volar was never even be able to do this. But also, I never tried that. I might have overlooked it.
August 29, 2026 at 5:50 PM
I just released the final version of the Volar based @mdx-js/typescript-plugin and the last version of the language server and VSCode extension that will include this.

Newer versions will use the new TypeScript 7.1 content mapper.
August 28, 2026 at 2:02 PM
Reposted by Remco Haszing
Ember now has preliminary TS7 support
~ via the content-mappers feature that merged in TS last week

Testers wanted!

(requires TS Nightly)
August 26, 2026 at 2:34 AM
I added props inference for @nextjs.org in mdx-content-mapper.

Also type information is inferred from mdx-components.tsx (or any providerImportSource of your choice).

I could also infer types for known exports, but maybe that’s taking it too far?
August 25, 2026 at 1:35 PM
Oops, I accidentally added type checking for code blocks in regular markdown files in addition to MDX. Ah well…
August 22, 2026 at 12:26 PM
Reposted by Remco Haszing
The new content-mapper API in tsgo has just been merged and will be part of TS 7.1

It's what every framework dev has dreamed of for years. Really excited about this becoming a reality!

github.com/microsoft/ty...
Content mappers by andrewbranch · Pull Request #4712 · microsoft/typescript-go
Implements microsoft/TypeScript#63800 (comment) Overview Content mappers are external integrations that allow TypeScript to include otherwise unsupported file types in a program. They transform a f...
github.com
August 21, 2026 at 9:02 AM
Reposted by Remco Haszing
The TypeScript content mappers PR just merged and is likely to land in 7.1 🎉

This could open a new chapter for everything built on and around TypeScript

github.com/microsoft/ty...
Content mappers by andrewbranch · Pull Request #4712 · microsoft/typescript-go
Implements microsoft/TypeScript#63800 (comment) Overview Content mappers are external integrations that allow TypeScript to include otherwise unsupported file types in a program. They transform a f...
github.com
August 20, 2026 at 11:34 AM
My editor using mdx-content-mapper is now showing TypeScript info for frontmatter and code blocks.
August 17, 2026 at 7:49 PM
Reposted by Remco Haszing
it's raining 🥹
August 17, 2026 at 2:00 PM
The sky is gray. Temperatures have dropped. Pura is experiencing rain for the first time.

This is the best weather we’ve had in weeks, maybe months.
August 17, 2026 at 7:32 AM
I just published an initial draft of an MDX content mapper. Content mappers are a new type of plugin system for an upcoming version of TypeScript that will allow you to type check MDX, Vue, Astro, etc. The approach is inspired by, but doesn’t use Volar.

Thanks @andrewbran.ch for working on this! 💖
GitHub - remcohaszing/mdx-content-mapper: A TypeScript content mapper for MDX content
A TypeScript content mapper for MDX content. Contribute to remcohaszing/mdx-content-mapper development by creating an account on GitHub.
github.com
August 16, 2026 at 7:01 PM
Reposted by Remco Haszing
August 12, 2026 at 6:47 PM
I just had a cat run installed for Pura. I’m really happy with it, but also mixed feelings because it was supposed to be for Impa too.
August 7, 2026 at 4:25 PM
Reposted by Remco Haszing
🔗 From today, EU regulation around labeling AI generated content goes into effect.

The Commission provides icons that can be used digital-strategy.ec.europa.eu/en/policies/...
EU Icons for labelling AI-generated content
Deployers of generative AI systems can use the EU set of icons to label certain AI-generated content, in accordance with the AI Act transparency rules.
digital-strategy.ec.europa.eu
August 2, 2026 at 8:27 AM
I feel like the config file situation in JS-land has gotten out of hand. Tools check for {.config/tool,.toolrc,config.tool}.{cjs,js,mjs,cts,ts,mts,json,jsonc,json5,yaml,yml,toml}

That’s 3*12=36 locations to check.
August 3, 2026 at 10:29 AM
Reposted by Remco Haszing
Blue Bottle Games, as a policy, does not use generative AI.

It's something we've discussed as a team, weighing the pros and cons, and ultimately, we decided it was not for us.

Recently, while chatting with a colleague, she mentioned it was useful hearing our reasoning.

So: Sharing time!
1/12
July 24, 2026 at 10:41 PM
Reposted by Remco Haszing
Mocha is donating $20k to more active open source projects: Knip, @nodejs.org, Prettier, and Unified. 🤎

mochajs.org/blog/2026-co...
2026 Community Sponsorships
Today, we are happy to announce that Mocha will be donating $5,000 each to four different community projects, for a total of $20,000 donated to the modern JavaScript community.
mochajs.org
July 24, 2026 at 2:44 PM
After a week long struggle for her life, Impa has passed away.
July 18, 2026 at 4:00 PM