Articles

30

Showing 30 article(s) about "TypeScript"



Use DTOs to Enforce a Layer of Indirection | Node.js w/ TypeScript
DTOs help you create a more stable RESTful API; they protect your API clients from changes made on the server.
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...
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 👇