Alexey Berezin ❄️ (@beraliv) header
Alexey Berezin ❄️ (@beraliv) profile picture

Born in Omsk ❄️ OSS ts-essentials 🛠 Write about TypeScript 🦺 Senior SWE 📺 UK Global Talent 🇬🇧 No to war in Ukraine 🤍💙🤍

London, UK
Joined January 2012
Photo by Alexey Berezin ❄️ (@beraliv)Photo by Alexey Berezin ❄️ (@beraliv)Photo by Alexey Berezin ❄️ (@beraliv)Photo by Alexey Berezin ❄️ (@beraliv)Photo by Alexey Berezin ❄️ (@beraliv)Photo by Alexey Berezin ❄️ (@beraliv)Photo by Alexey Berezin ❄️ (@beraliv)Photo by Alexey Berezin ❄️ (@beraliv)Photo by Alexey Berezin ❄️ (@beraliv)Photo by Alexey Berezin ❄️ (@beraliv)
Replying to @beraliv
So finally after 4 months I updated my blog page blog.beraliv.dev 🚀 📦 Next.js 🔎 Search page with filters 🔢 Views w/ serverless fns 🖼 Host images on Cloudinary 397M node_modules 44s build time 1.5-2m deploy time Still lots to do, but a good milestone for now 💪
2
7
This Friday I passed Life in the UK test 👏 This is the test about values, history, culture and system in the UK. It's required to get ILR (indefinite leave to remain). For the test, you have 45min to answer 24 questions (out of pool of 300+ questions).
2
7
1,441
The pool of questions is close, but you can practice similar questions at officiallifeintheuk.co.uk/ for £11 (if booking for 3mo). As I took 2 weeks to prepare, that was more than sufficient for me.
1
147
Big news! Last week, on April 15, 2025, I was officially awarded the UK Global Talent visa for the Exceptional Talent route 🏆 If you’re an engineer like me and curious about the details, here are the projects that helped me earn the visa - blog.beraliv.dev/2025-04-23-…
1
5
218
Huge shout out to Elizaveta Morjan, Lamiia Israilova, Elena Kunakova, Dom Busser, Patrick Kunka, my amazing colleagues and many others who made this process smoother and supported me every step of the way. I couldn't have done it without you 🧡
95
By any chance, does anyone have an invitation to lobste.rs/?
1
80
Last release in 2024: [email protected] 🥳 Special shout out to @SomSMukherjee for all 5 contributions, it's a pleasure working with you! 👏 For more details, see github.com/ts-essentials/ts-… 👀
1
1
3
187
For the past 2 weeks, I worked on a small interactive website - ts-conversion.beraliv.com It helps engineers understand how to convert one type to another in TypeScript, with examples and link Any feedback is welcome 🧡
2
95
We've released [email protected] with small, but still exciting changes. Special shout-out to Myles and Som for their contributions 🧡
1
5
134
Just read about the Page Lifecycle API, this is truly awesome to detect the collapsed and expanded tabs on Chromium - whatwebcando.today/freeze-re… Unfortunately, Firefox and Safari don't support it
1
1
3
180
To cover the frozen tabs detection in Firefox and Safari, you can use a small timeout (e.g. of 10s) and check the actual elapsed time
74
Dear TypeScript gurus, Any particular reason why `satisfies Item` on each element + filter doesn't work, but `satisfies Item[]` and no `satisfies` works in this particular case? tsplay.dev/wXLDOw
1
1
248
cc @mattpocockuk @AndaristRake and anyone else who used `satisfies` and can clarify it?
1
80
We've just dropped [email protected] with small improvements. Special shout out to Daniel Bertocci for reducing the number of instantiations for PickProperties and OmitProperties by 20-40%, great suggestion and amazing result 👏 github.com/ts-essentials/ts-…
1
5
208
Today, my article about scrollbar customisation (2024 Update) has been published on Hackernoon - hackernoon.com/the-scrollbar… This time I covered the history, the bugs in browsers and the options using different frameworks/libraries
1
83
Please let me know if you have notes or suggestions, happy to make improvements
41
I have amazing people who are TypeScript gurus. Can you help me find the definition for "a number of type instantiations" in TypeScript?
1
147
It can be simplified as "What TypeScript counts as a type instantiation"? E.g. ArkType attest measures a number of instantiations for a function return type - github.com/arktypeio/arktype….
1
102
Today I have merged the experimental type benchmarks in ts-essentials that help understand the impact of any change (whether refactoring of the codebase, a small improvement or something else) Big shout-out to @ssalbdivad and his support to start using "@arktype/attest" 👏👏
1
3
183
Hey @ssalbdivad! I'm writing an article about testing types in TypeScript and was wondering what libraries are competitors of "@arktype/attest"? Has anyone implemented benchmarking to e.g. measure instantiations?
2
1
217
Excited to share the big news! 🚀 We've just dropped ts-essentials@10, and it's a game-changer! Huge shout out to everyone who contributed to this milestone 👏 ✨ Improved XOR 🛣️ Added Paths & PathValue 🔍 Enhanced isExact type support ...and a whole lot more! Enjoy 😌
2
1
7
643