Showing 30 article(s) about "TypeScript"

Enforcing Coding Conventions with Husky Pre-commit Hooks
In this guide, we'll learn how to setup Husky to prevent bad git commits and enforce code standards in your project.
How to use Prettier with ESLint and TypeScript in VSCode
In this guide, we'll explain how to use Prettier with ESLint, delegating the responsibility of code convention definition to ESLin...
Deploying Serverless GraphQL APIs with TypeScript on Netlify
It's quite trivial to get a Serverless GraphQL API up and running in 2020.
Make Illegal States Unrepresentable! - Domain-Driven Design w/ TypeScript
By using TypeScript's static type system, not only can we enforce (typically challenging things like) business rules and error sta...
When to Use a Private Constructor | TypeScript OOP
In this blog post, I explain how using a private constructor helps to force a single way to create an object, and why it's most co...
Static Factory Methods | Object-Oriented Programming w/ TypeScript
In this blog post, I explain how we can use the static factory method to enforce rules against how an object is created.
Load more 👇