Tag: typescript

TypeScript Logo Over a Colorful Thrown-Paint Background

Writing a constructor in TypeScript

Dev

Discover how to add a constructor onto an interface in TypeScript and the common use cases for when and why to do so.

Kealan Parr
Jan 10, 2022 ⋅ 4 min read
What's New in TypeScript 4.5

What’s new in TypeScript 4.5

Dev

TypeScript 4.5 includes enhanced Awaited type, supported lib from node_modules, and the realpathSync.native function.

Lawrence Eagles
Dec 17, 2021 ⋅ 7 min read

Building GraphQL APIs with TypeGraphQL and TypeORM

Dev

Learn how to build a GraphQL API with TypeGraphQL and TypeORM that can manage books data with CRUD functionalities.

Rahman Fadhil
Dec 17, 2021 ⋅ 8 min read
using tsm shebang interpreter feature image

Using tsm as a shebang interpreter in TypeScript

Dev

Learn about tsm, a new TypeScript module loader for Node.js that provides native TS support without needing to transpile it to JavaScript first.

Matthew Swensen
Nov 30, 2021 ⋅ 3 min read

When and how to use interfaces and classes in TypeScript

Dev

Demystify interfaces and classes in TypeScript, and learn where to use them in this handy tutorial with plenty of examples.

Gapur Kassym
Nov 25, 2021 ⋅ 4 min read
Understanding TypeScript Object Serialization

Understanding TypeScript object serialization

Dev

Learn about object serialization in TypeScript, the way systems communicate seamlessly, and the issues with serialization in TypeScript.

Faith Ng'etich
Nov 5, 2021 ⋅ 7 min read
Comparing statically typed JavaScript implementations

Comparing statically typed JavaScript implementations

Dev

In this post, we’ll compare three of the most popular ways of imposing static typing on JavaScript: TypeScript, Flow, and PropTypes.

John Au-Yeung
Oct 28, 2021 ⋅ 7 min read
TypeScript string-enums-guide

TypeScript string enums, and when and how to use them

Dev

No matter how much you know about TypeScript enums, this guide covers all the best practices for using string-based enums in production.

Alexander Nnakwue
Oct 27, 2021 ⋅ 10 min read
TypeScript vs. JSDoc With JavaScript

TypeScript vs. JSDoc JavaScript for static type checking

Dev

If you’re starting a project and want to make use of static typing, how do you choose between TypeScript or JavaScript with JSDoc?

John Reilly
Oct 19, 2021 ⋅ 3 min read
Scaffolding an App with Vue 3, Nuxt, and TypeScript

Scaffolding an app with Vue 3, Nuxt, and TypeScript

Dev

Learn how Nuxt, Vue 3, and TypeScript work together in this job board demo app and how this combination supports developer experience.

Lawrence Eagles
Oct 15, 2021 ⋅ 6 min read
Testing TypeScript apps using Jest

Testing TypeScript apps using Jest

Dev

Learn how to use the popular testing library, Jest, for your TypeScript apps in this detailed tutorial of functional test implementation.

Ibiyemi Adewakun
Oct 14, 2021 ⋅ 8 min read
Using Observables to Transform Data in TypeScript

Using RxJS Observables to transform data in TypeScript

Dev

Explore RxJS Observables, how they are used to handle event-driven data, and errors and asynchronous data in a TypeScript application.

Emmanuel John
Oct 14, 2021 ⋅ 5 min read