Tag: typescript

Creating type-safe custom client SDKs using TypeAPI

Dev

Learn how to generate type-safe custom client SDKs with TypeAPI, a new tool that makes SDK generation easy. Then compare TypeAPI with Fern.

Manu Ustenko
Oct 9, 2023 ⋅ 6 min read
How To Dynamically Assign Properties To An Object In TypeScript

How to dynamically assign properties to an object in TypeScript

Dev

Explore dynamic property assignment in TypeScript, overcoming static typing errors through type assertions, the `Partial` utility type, and more.

Ohans Emmanuel
Oct 6, 2023 ⋅ 7 min read
Linting In TypeScript Using ESLint And Prettier

Linting in TypeScript using ESLint and Prettier

Dev

Automate type checking in your TypeScript code and ensure that the code has no bugs by integrating Prettier with ESLint.

Paul Ccari
Sep 26, 2023 ⋅ 9 min read
Extending Object-Like Types With Interfaces In TypeScript

Extending object-like types with interfaces in TypeScript

Dev

Interfaces are one of TypeScript’s core features. Let’s explore interfaces’ characteristics and how to better leverage them in programs.

Matthew Swensen
Sep 19, 2023 ⋅ 10 min read
Typical Protobuf Data Serialization TypeScript

Typical vs. Protobuf: Data serialization in TypeScript

Dev

We investigate two serialization technologies, Typical and Protobuf, and see how to serialize and deserialize data in TypeScript.

Alec Brunelle
Sep 15, 2023 ⋅ 8 min read
Implementing Function Overloading TypeScript

Implementing function overloading in TypeScript

Dev

We discuss function overloading in TypeScript and investigate how (and in what scenario) )we can most effectively implement it.

Nelson Michael
Sep 11, 2023 ⋅ 5 min read
Common TypeScript Module Problems And How To Solve Them

Common TypeScript module problems and how to solve them

Dev

Avoid common module problems in TypeScript using the TypeScript compiler and module system.

Emmanuel John
Sep 7, 2023 ⋅ 6 min read
Kanel Tutorial: Generating TypeScript Types From PostgreSQL

Kanel tutorial: Generating TypeScript types from PostgreSQL

Dev

Learn how to use Kanel to generate TypeScript types from PostgreSQL, then see it in action by building a to-do app.

Agustinus Theodorus
Sep 5, 2023 ⋅ 8 min read
Using The New Using Operator In Typescript For Better Resource Management

Resource management in TypeScript with the using keyword

Dev

TypeScript’s new using operator can help us manage our resources better. Let’s explore how it works and why it’s useful in development!

Lewis Cianci
Aug 30, 2023 ⋅ 8 min read
How To Configure A Path Alias In A React And Typescript App For Cleaner Imports, Better Organization, And Improved Maintainability

Using path aliases for cleaner React and TypeScript imports

Dev

Let’s explore how to configure path aliases in a React and TypeScript app for cleaner imports, organization, and maintainability.

Oghenetega Denedo
Aug 14, 2023 ⋅ 5 min read
How To Build A GraphQL API With NestJS

How to build a GraphQL API with NestJS

Dev

GraphQL provides a complete and understandable description of the data in your API and makes it easier to evolve APIs over time.

Godwin Ekuma
Aug 3, 2023 ⋅ 10 min read
How To Perform Type Casting In TypeScript

How to perform type casting in TypeScript

Dev

Improve the type safety of your projects with type casting, and understand subtype and supertype relationships.

Paul Akinyemi
Aug 1, 2023 ⋅ 7 min read