Typesafe way to implement DI in Typescript
Cool! I was wondering about array implementation for quite some time. If you are interested you can check out my implementation without arrays - https://github.com/adamstarlight/ts-typelevel-di/blob/main/src/index.ts The question is: once we have a construction ServiceProvider<...> & ServiceProvider<...> can we wrap it a second time, like what I proposed with LookupService above?
A collection of essential TypeScript types
``` // from: https://github.com/sindresorhus/type-fest/blob/v2.12.1/source/union-to-intersection.d.ts type UnionToIntersection = ( Union extends unknown ? (distributedUnion: Union) => void : never ) extends ((mergedIntersection: infer Intersection) => void) ? Intersection : never;
Appwrite - The Open Source Firebase alternative introduces iOS support . Appwrite is an open source backend server that helps you build native iOS applications much faster with realtime APIs for authentication, databases, files storage, cloud functions and much more!
How can I keep an optional property in a merged type where there is an overlap?
1 project | reddit.com/r/typescript | 16 Aug 2022
Use opaque types to improve typing on basic types
1 project | dev.to | 25 May 2022
Is there any collection of general-purpose premade types?
1 project | reddit.com/r/typescript | 4 May 2022
Need help generating an intersection type with conditional types
1 project | reddit.com/r/typescript | 2 Apr 2022
Cheat Sheets for Web Developers
1 project | dev.to | 24 Dec 2021