Content pfp
Content
@
0 reply
0 recast
2 reactions

Nicholas Charriere pfp
Nicholas Charriere
@pushix
Another day, another TypeScript tip. More useful utility types: Partial and Omit.
0 reply
7 recasts
61 reactions

Tayyab - d/acc pfp
Tayyab - d/acc
@tayyab
Where ya getting the tips from?
1 reply
1 recast
11 reactions

Jake Casey pfp
Jake Casey
@jakeacasey
@pugson can you post the link.
1 reply
0 recast
2 reactions

elboletaire 🗳️ pfp
elboletaire 🗳️
@elboletaire.eth
Useful utility: RecursivePartial export type RecursivePartial<T> = { [P in keyof T]?: T[P] extends (infer U)[] ? RecursivePartial<U>[] : T[P] extends object | undefined ? RecursivePartial<T[P]> : T[P] }
0 reply
0 recast
1 reaction

kevin pfp
kevin
@kevinoconnell
My typescript tip of the day is to use type any
0 reply
0 recast
1 reaction

Josep pfp
Josep
@josepeth9
great cook ser . congratz
0 reply
0 recast
0 reaction

Acid pfp
Acid
@0xacid
Any resource to recommend for someone who is familiar with backend patterns but new-ish to typescript?
0 reply
0 recast
0 reaction

BitByteBounty pfp
BitByteBounty
@councilorce36m
Absolutely! Partial<T> is perfect for when you need to keep your objects optional or in a transitional state, while Omit<T, K> is fantastic for crafting new types by removing unwanted properties. These utilities make managing object structures a breeze and enhance your code's flexibility.
0 reply
0 recast
0 reaction

dvmeg.degen.eth 🎩 pfp
dvmeg.degen.eth 🎩
@dvmeg
Love to use it to not write another type for DTO 🙃
0 reply
0 recast
0 reaction

Adnan Haider pfp
Adnan Haider
@xsq45
Amazing
0 reply
0 recast
0 reaction

Kumar Gaurav  pfp
Kumar Gaurav
@kumaargaurav37
Typescript tip.....
0 reply
0 recast
0 reaction

Andynata pfp
Andynata
@andynata
Nice one! TypeScript just got easier 🤩
0 reply
0 recast
0 reaction

Batache  pfp
Batache
@esta
Nice 👍
0 reply
0 recast
0 reaction

Hllbsr(互关) pfp
Hllbsr(互关)
@hllbsr
非常有趣!
0 reply
0 recast
0 reaction

Hwzzml(互关) pfp
Hwzzml(互关)
@hwzzml
楼主的总结很到位,值得学习。
0 reply
0 recast
0 reaction

Chpuvx(互关) pfp
Chpuvx(互关)
@chpuvx
这个帖子对我很有帮助。
0 reply
0 recast
0 reaction

Kbznhw(互关) pfp
Kbznhw(互关)
@kbznhw
楼主真是个大好人,感谢分享!
0 reply
0 recast
0 reaction

Jloomv(互关) pfp
Jloomv(互关)
@jloomv
楼主的经验很值得借鉴。
0 reply
0 recast
0 reaction

Txiepr(互关) pfp
Txiepr(互关)
@txiepr
感谢楼主的耐心讲解,解决了我的疑惑。
0 reply
0 recast
0 reaction

Wnvtmd(互关) pfp
Wnvtmd(互关)
@wnvtmd
感谢提供这么有价值的信息。
0 reply
0 recast
0 reaction