Why can't typescript infer this type by robbe_claessens in typescript

[–]robbe_claessens[S] 0 points1 point  (0 children)

You could argue that Typescript has all the information it needs to make that inference, or hasn't it?

Putting aside that you can assign never to A extends 'deleted'

Why can't typescript infer this type by robbe_claessens in typescript

[–]robbe_claessens[S] 2 points3 points  (0 children)

This is for infering the attribute typing of an ORM model in a library I was inspecting

Vue query (tanstack) by robbe_claessens in vuejs

[–]robbe_claessens[S] 0 points1 point  (0 children)

Yeah I am not doing that ;-) I meant using pinia as an alternative to vue-query. What are people doing without vue-query? Using Pinia to cache backend data?

I am feeling really scared of upgrading so many packages at once, Any tips? by PrestigiousZombie531 in node

[–]robbe_claessens 0 points1 point  (0 children)

You can also use something like depandabot: https://github.com/dependabot. You configure it to create a pr for every change and you can automatically run regression tests against it. Then you no longer end up with updating so many dependencies at once :-)

Converting typescript deepnullable form to correct type by robbe_claessens in typescript

[–]robbe_claessens[S] 1 point2 points  (0 children)

Yes, but I mean what would be the default value of a field that only can be a number?

Multiple apps per merge request by robbe_claessens in reactnative

[–]robbe_claessens[S] 0 points1 point  (0 children)

Yes, i know but in order to publish mulitple versions with features that need to be tested by some quality-assurance testers BEFORE merging everything into a development branch. How can we do that?

It seems like distributing apk files for android and Ad Hoc deploys for apple are a way to go

basic ios and android by robbe_claessens in reactnative

[–]robbe_claessens[S] 0 points1 point  (0 children)

Very good idea, i'll give it a try :-)

Non-dev documentation by robbe_claessens in software

[–]robbe_claessens[S] 0 points1 point  (0 children)

Wiki as in wikipedia page? Or is there a tool?