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
Please enrol in the course or become Pro to watch this video.
Before we start using the package in an AdonisJS project, let’s add types for the package so it plays nicely with TypeScript.