Replying to @trashh_dev @typeheroapp
i generated this share link in the app but its broken when i try to open it - typehero.dev/challenge/day-1…
Replying to @mattpocockuk
@mattpocockuk I really loved the `Prettify` type you shared the other week. With the help of GPT4 i came up with a version that applies itself recursively that seems to work really well - I thought you might like it
Im posting a link to a playground example below
#typescript
Replying to @trashh_dev
it is - a func like this helps in a lot of situations
Replying to @mattpocockuk
@mattpocockuk can you help me understand why the default argument here is breaking the type signature of this function?
heres a @codesandbox: codesandbox.io/s/dreamy-fore…
#typescript
Replying to @mattpocockuk
@mattpocockuk Could you help me understand the problem here? The function works as expected if you call it with both args. Assigning a default argument is causing a TS error though
here's a code sandbox codesandbox.io/s/dreamy-fore…
Replying to @reactnavigation
@reactnavigation what's up with the independent
prop on NavigationContainer?
I don't see it mentioned in the docs anywhere
Is it safe to use?
Replying to @erikras @powerupcoding
That's the rule I hate the most. Between it and a pre-commit hook that would "fix" lint issues, it would sometimes change the code right out from under me and break things. In the following example, it wanted to add subscribeToMore to the deps array which is very problematic.
#Typescript pro tip. Make these types globally available in your projects
gist.github.com/brayhoward/f…
















