Adding types

Before we start using the package in an AdonisJS project, let’s add types for the package so it plays nicely with TypeScript.

What you'll learn

  • How to create a TypeScript ambient module
  • How to add types to types to AdonisJS packages