TIL how to tell TypeScript about event parameters for events implemented in a class inheriting from Node.js core EventEmitter: "declare interface MyClass".
In my next 🎥LoopBack screencast, I am showing how to leverage the concept of Repository Base Class to share bits of data-access functionality between models. Enjoy!
Dnes jsem poprvé poslal balík přes @Zasilkovna (služba Mezi Námi). Až mě úplně zaskočilo, jak rychlé bylo podání zásilky - podstatné rychlejší než na poště. 💪
Today I added Arkener as Coder co-maintainer! Please give him a warm welcome 👋 . Also periodic reminder to make your prolific contributors co-maintainers to ensure continuity of your Open Source project 🤝 https://www.drupal.org/project/coder/issues/3137217 cc @pfrenssen
#Mastodon Twitter Sync 1.4.0 released! Syncing of retweets and reblogs can be disabled now to only sync your own status updates ♻️❌ . Big thanks to @bajtos for contributing that. https://github.com/klausi/mastodon-twitter-sync/releases/tag/v1.4.0
Our journey from a hacky monorepo setup to vanilla TypeScript Project References is coming to completion.
Next step: ensure all files linted by eslint are part of a TS project and get rid of `parserOptions.createDefaultProgram`
I wrote an open/free guide for #ActivityPub to help other developers.
Can't wait to share it with you! 😁
ES6 class mixins in TypeScript: tsc cannot handle protected/ members when exporting declaration for an anonymous class. When you add a mapped type to strip non-public members, methods are changed to properties and thus cannot be overridden by the mixin 🤦♂️
I spent most of the day writing another part of our migration guide for LoopBack component authors. I'm looking forward to get the migration guide finished so that I can again put my coding hat on. Writing is fun, but only for so long.
We are discussing how to add HTTP/2 support to LoopBack. Thankfully the HTTP/1 compatibility API provided by Node.js removes most of the concerns about different communication model. Unfortunately TypeScript and `@types/node` makes it quite difficult to get everything right 😒
My first LoopBack screencast 🎥 shows how to upgrade datasource files in your LB4 project from the old JSON-based configuration to the new pure-TypeScript style. Enjoy! 👀
Shell completion for LoopBack4 CLI tool `lb4` is coming in the next release! 🎉
In theory, Rust is a great way how to write low-level platform-independent apps in a high-level language with a growing universe of packages to use. In practice, many packages depend on C-based libraries like OpenSSL that are difficult to build on Windows and MUSL, thus you end up fiddling with legacy build tools anyways 🤦♂️
Privacy & decentralisation, sustainable open-source, distributed & remote-first. Node.js, LoopBack.io and IBM.
Server run by the main developers of the project It is not focused on any particular niche interest - everyone is welcome as long as you follow our code of conduct!