How do I extract type from deeply nested object and arrays with null/undefined types ? #325
Unanswered
RajaJaganathan
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Received:
But I wand Item to be like below shape. Note that sometime I want to skip the null,undefined as well.
I'm getting Type along with Given Paths, How do remove those path, just target type only required.
Any help is highly appreciated.
TS Playground: https://www.typescriptlang.org/play?ts=4.9.0-dev.20221011#code/JYWwDg9gTgLgBAbzgeQEYCsCmBjeBfOAMyghDgHIYBnAWhgggBtVNGZyBuAKC5gE8wmOABFgVMAFcYQgLyIucRXAAmYydID6wZQC44VGFGAA7AObclcbFEwBDTTFCY9Bo2YtKJYZfcwbHIM76hibmCkqq4lKYyv5QtsZUtrjAEIl6COGWiqgSfJhQcQlJKWlausFuYdlKVKyMBUWJyY5l2i4h7lnZ1nYOTh1VHjWGxS2pxhoG9hJUg6HD2aYkVFQatiAQEsYwGd01itgSUDbG2Hwa2BDKQa4L+wcAbraMEred1Qd4i5bA0iBUAD8egA2g8apkDtl2nBjBIQCwoAAacHZYwbd5VVF4AC63TwXAJvAEQgAkv84HI0FhcAA6AAKDOA2AA1gAeURRaRIuAg8iRdQxJolVqJcg88h-TAA8Ww+GInEAPh4PCAA
Beta Was this translation helpful? Give feedback.
All reactions