Press Space to continue
Curated tech posts from X on AI, startups, and product development—signal without the doomscroll, updated on weekdays.
Press Space to continue
Press Space to continue
Let me put my TypeScript hat back on for a minute Content mappers look outrageously exciting. This is now possible: 1. import any non-TypeScript file (markdown, vue, svelte) 2. Write a content mapper to extract types from it 3. Run tsc with --runExternalCode 4. You get type inference from NON TYPESCRIPT CODE The simplest case: 1. Import a markdown file 2. Add a bit of config to tsconfig.json 3. Run tsc with --runExternalCode 4. Get fully typed markdown frontmatter Unbelievably useful, a…