Tag: typescript

Types As Comments: Strong Types, Weakly Held

Type annotations (aka, types as comments): Strong types, weakly held

Dev

Type annotations (aka, types as comments) is a proposal that would allow for the inclusion of types in JavaScript code.

John Reilly
Mar 29, 2022 ⋅ 5 min read
A complete guide to full-stack live reload

A complete guide to full-stack live reload

Dev

As developers, writing code quickly isn’t our only concern. Getting feedback quickly — i.e., while you are coding — is […]

Ashley Davis
Mar 7, 2022 ⋅ 19 min read

How to build a REST API with TypeScript using only native modules

Dev

Learn how to build an API without external modules to sharpen your dev skills and give you the tools to build your own packages.

Rose Chege
Mar 4, 2022 ⋅ 9 min read
React 18, Redux 8, And TypeScript: What You Need To Know

React 18, React Redux 8, and TypeScript: What you need to know

Dev

Learn what you can expect from the React Redux 8 beta, how it works with React 18, and its TypeScript codebase conversion.

Samson Omojola
Feb 2, 2022 ⋅ 5 min read
Methods for TypeScript runtime type-checking

Methods for TypeScript runtime type checking

Dev

Explore five methods of performing TypeScript type checks at runtime in this post and learn each of their advantages and disadvantages.

Sneh Pandya
Feb 1, 2022 ⋅ 9 min read
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