Gabriel Rohden

Results 73 comments of Gabriel Rohden

I'm curious: > Additionally, the type definition doesn't indicate that params can be undefined. You mean that every TS dev should deal with `undefined` even when they know that it...

> That's the current state and should not be the case. I still don't get it, you don't need to deal with `undefined` with current state, as I said, if...

> whereas there is no bad implication I know of to have an empty params object when there's no param Here's one TS specific [issue](https://github.com/microsoft/TypeScript/issues/12815#issuecomment-266250230), [here's the playground](https://www.typescriptlang.org/play/?jsx=3#code/C4TwDgpgBAQghgJygXigbygI0QLigZ2AQEsA7AcygF8AoG0SKAJQHsBXYCBAHgBUA+FOhpRRUMIjgBbfHl5QAPulq0aAMzakAxsGItSUNvgisOXPvwAUASjynOPAcLFQEEYGwQG0Il2IkI0rLKvqIqdBrauvpQAMIsUmD6EKTAAII2zmJa+oTo4pIy1EJGJuwO3PAIVtahUAD09VAA8gAWUKQsADRQwPhQACYsEPikAOTAUADWnQDuUHCY5ViIUFpsAF51jVDEk8CtZFP9B3CTe1BScCBY0GhUC6QDUCDsa3DjwNtNcFpaI-1MBAtHBSr1WlwIGN+p0oGNsAgxtMIDcyLsvi4cqQ8hgEUIxgMIGpQQAbYBIh6oAJBOguNweLwrBA0VSRHR6AzxRLJVIwTI+TG5SYYalFSmGYz2cxVGq0sQ7AByLEgPWALBYlzYWnaYzcahJwOi4ygahYSAY0HIbEQA3wdWIaiglmamAAVoaAHRTFH4Syi-DWD0GigHKCCAAM1iyflc7k8Bn9HoRdVUdLjjNIbBJJJZdHUmnZMS5SVIKWAsX5dSxOIKgTFJUl5WliFl3ygSvmfWmc36-t2-Sq9sdlnhiCRaP9UYFMdjDIThXwScQKblonp8Y6WZztCAA) But maybe...

@vinipachecov wut? The proper usage should be: ```typescript type RootStackParamList = { // Your route is named 'Profile', it has this object as params: Profile: Partial }; // here you...

> (there's a fault at the library typings: you can call navigate(string) and ts will not complain even when the route is required to have params) @satya164 @martintreurnicht I think...

@satya164 not right now.. probably next week I'll open

Not sure if it will help, but here's my 2 cents: I face problems with barrel files not only in jest, but on some external and internal libs that have...

Nice, since 2018 without null mocks.. it's like graphql doesn't have support for null returns! (current mocks are amazing tbh, its just missing this) I made a custom solution which...

@akinncar > is it possible to update only one project indicating the folder? No idea.. would be nice to collect the rn cli logs to see which infos are available...

Right, here's more infos: `rbs --version -> rbs 2.8.4` `ruby --version -> ruby 3.2.3 (2024-01-18 revision 52bb2ac0a6) [arm64-darwin23]` After doing a somewhat binary search commenting the whole gemfile and re-generating...