Adam Bieganskitechlead.ink·Dec 10, 2024C# required, record and init-onlyClass Before required you had to create a constructor to guarantee that all properties you wanted were actually set: public class EmailPdfToUserCommand { public EmailPdfToUserCommand(string invoiceId, string userFirstName, string userLanguage, st...Discussrecord
PawHavenpawhaven.hashnode.dev·Nov 10, 2024Valentine Heart Gatefold Card Valentine's Day 3D SVG CraftsCrafting a Charming Valentine Heart Gatefold Card: A 3D SVG Project for Love Valentine's Day is just around the corner, and what better way to express your love than with a handcrafted card? The Valentine Heart Gatefold Card is a delightful 3D craft ...Discuss3d
MoonFoxmoonfox.hashnode.dev·Nov 8, 2024DIY Festive Pop-Up Snowman Card for the HolidaysCreate a Heartwarming Pop-Up Snowman Card: A Festive DIY Project As the holiday season approaches, many of us are looking for creative and memorable ways to spread festive cheer. One delightful way to share joy with friends and family is by creating ...Discuss3d
Houndiohoundio.hashnode.dev·Nov 7, 2024Dancing Skeletons Layered Card FreeUnleash Your Creativity with the Dancing Skeletons Layered Card As the air turns crisp and shadows lengthen, hearts brim with anticipation for the enchanting celebrations of Halloween and Día de Los Muertos. What better way to channel that spirit tha...Discussstainedglass
Wendel Fabian Chinsamywendelwritescode.hashnode.dev·Oct 10, 2024Typescript Utility Types: Required<T>Introduction The Typescript Required<T> utility type provides a wonderful means converting optional properties to be mandatory instead. Let’s dive into an example to better understand the problem it solves! Problem Example interface Person { name...DiscussTypeScript
woodstockwoodstock.hashnode.dev·Feb 6, 2024맵드 타입 기반의 유틸리티 타입 1 - Partial, Required, ReadonlyPartial Partial<T>은 특정 객체 타입의 모든 프로퍼티를 선택적 프로퍼티로 변환한다. 즉, 기존 객체 타입에 정의된 프로퍼티들 중 일부분만 사용할 수 있도록 도와주는 타입이다. 예제 간단한 블로그 플랫폼의 일부를 직접 구현한다고 가정해보자. // 게시글 타입 interface Post { title: string; tags: string[]; content: string; thumbnailURL?: string; } ...DiscussTypeScriptpartial