Beginner: How to type a generic decoding function?
if i have a branded type and a decode for it:
i want to pass
not sure if this should go in typescript channel since its really more of a typescript question, or beginner channel since possibly this entire implementation is incorrect
i want to pass
decodeVal into decodernot sure if this should go in typescript channel since its really more of a typescript question, or beginner channel since possibly this entire implementation is incorrect
