Sign in

Anton Stoychev

@stoychev.dev
27 followers 52 following 37 posts

Performance Optimization ⁘ Upskilling teams & Best Practices for DevX & AI ⁘ Gradual migration to modern tech stacks ⁘ Finding the cost-effective solution that fit actual needs and securing leadership buy-in ⁘ Hands-on for complex areas when needed

PostsRepliesMedia
Anton Stoychev @stoychev.dev · 20/07/2025
Which 𝘀𝘁𝘆𝗹𝗲 makes it clear the function returns an array? Why TS team uses `𝗧𝘆𝗽𝗲[]` for error msgs? Isn't the utility `𝗥𝗲𝗰𝗼𝗿𝗱<𝗧𝘆𝗽𝗲>` showing the preference? Isn't `𝗧𝘆𝗽𝗲[][]` sillier when compared to `𝗔𝗿𝗿𝗮𝘆<𝗔𝗿𝗿𝗮𝘆<𝗧𝘆𝗽𝗲>>`, especially if you read it out load. I feel there is a clear winner?
010
Anton Stoychev @stoychev.dev · 08/06/2025
Moving codebases to newer or stricter TS in 1 go is often impossible (can't stop dev for so long, risk many bugs at once or know all the correct types) In breakproof.dev we snapshot existing errors and fail only for new ones. Allows us to upgrade TS or make it stricter now, and gradually fix errors
000
Anton Stoychev @stoychev.dev · 01/06/2025
𝘀𝗸𝗶𝗽𝗟𝗶𝗯𝗖𝗵𝗲𝗰𝗸 is a 𝗧𝗦 config for skipping 𝗧𝗦 checks of libraries, 𝘳𝘪𝘨𝘩𝘵? 𝗡𝗼 It only skips checks for .𝗱.𝘁𝘀 files. If you develop a 𝗧𝗦 lib in your own monorepo used only by your projects, you still must run 𝘁𝘀𝗰 for your lib. Otherwise checking your project for TS errors will also show the lib errors
000