TypeScript 6 Beta Released: Transitioning to TypeScript 7
https://techlife.blog/posts/typescript-6-beta-release/
#TypeScript #JavaScript #ECMAScript #Coding #Programming #technews #softwareDevelopment
TypeScript 6 Beta Released: Transitioning to TypeScript 7
https://techlife.blog/posts/typescript-6-beta-release/
#TypeScript #JavaScript #ECMAScript #Coding #Programming #technews #softwareDevelopment
#TypeScript nerds, can you help me out?
I have a type called DeepRequired that recursively makes optional properties in nested object required using dot notation as seen below.
The problem is: It is only somewhat working. I believe, I'm on the right track somewhere but I can't get closer than this.
Thanks in advance!
1/2
#FollowerPower #amCoding #amProgramming #softwareDevelopment #softwareEngineering #webDev #webDevelopment #JavaScript #ECMAScript
document.createTreeWalker and document.createNodeIterator that create a TreeWalker and a NodeIterator respectively.document.createNodeIterator(document.body, NodeFilter.SHOW_TEXT).forEach(n => use(n));, because that would be way too easy!NodeIterators and TreeWalkers have their own incompatible interface and there isn’t even an easy way to convert them into an array or something similarly usable, because again, that would require to have more than room-temperature IQ when designing a language, and we all know that homophobes lack that!#Development #Introductions
Date is out, Temporal is in · JavaScript will soon have modern date handling https://ilo.im/169o2x
_____
#Dates #Temporal #JavaScript #EcmaScript #ES262 #Browser #WebStandards #WebDev #Frontend
#Development #Outlooks
ES2026 solves JavaScript headaches · “It could be a bumper year for new features.” https://ilo.im/1693k5
_____
#Programming #Coding #EcmaScript #ES2026 #JavaScript #Libraries #APIs #WebDev #Frontend #Backend
We desperately need document.currentScript, but for #ecmascript modules 🙏
https://developer.mozilla.org/en-US/docs/Web/API/Document/currentScript
10-year-old tracking issue: https://github.com/whatwg/html/issues/1013
NOTE: this was written in 2007 in an old version of this blog, some links or comments are lost to time.
The second system syndrome is that evil effect that often happens when redesign a small, working system so that it becomes a huge leviathan built by piling new features over new features.
Today I was reading the overview of ECMASCript 4 from ecmascript.org, and I got this very bad feeling […]
https://riffraff.info/2007/10/ecmascript-4-the-fourth-system-syndrome/
NOTE: this was written in 2007 in an old version of this blog, some links or comments are lost to time. The second system syndrome is that evil effect that often happens when redesign a small, working system so that it becomes a huge leviathan built by piling new features over new features. Today I … Continue reading "ECMAScript 4, the fourth system syndrome"
#Development #Approaches
The nuances of JavaScript typing · “JavaScript + JSDoc + tsc should be the industry default.” https://ilo.im/168va0
_____
#EcmaScript #JavaScript #JSDoc #TypeScript #tsc #CLI #Tooling #WebDev #Frontend #Backend
Perhaps it’s time to embrace real web open standard .js files which don’t require any build steps or tooling to execute properly, all while utilizing the power combo of JSDoc + tsc to gain all of the benefits of type hints in IDEs and type checking in CI.