Latest posts

Fastest way to set up a TypeScript project with Node.js (npm)

2020-08-04 Hands-On

Setting up a TypeScript project with Node.js takes only a few minutes. Here is how to do it the fastest way by just using npm and yarn.

Continue reading →

Error TS2307: Cannot find module events

2020-06-03 Hands-On

Extending the EventEmitter class from Node.js might cause error TS2307. Here is how to fix it.

Continue reading →

Top-level await in TypeScript 3.8

2020-03-30 New Features

TypeScript 3.8 introduces a new functionality which is called top-level await. It allows developers to use the await keyword without a surrounding async function at the top level of a module.

Continue reading →

Run Node.js apps on Heroku with TypeScript

2019-03-18 Hands-On

The best way to get started on the Heroku polyglot platform is to follow their fantastic introduction. It’s also worth reading about their supported environments, deployment tasks and European deployment region. The second best advice is to follow our quick setup guide.

Continue reading →

Setup electron-mocha with @babel/register and TypeScript

2019-02-18 Testing

Write tests for Electron using TypeScript and mocha. The following tutorial will show you how to create a test setup.

Continue reading →