TypeScriptHow to use a javascript library without a type definition file


Introduction

While some existing JavaScript libraries have type definition files, there are many that don't.

TypeScript offers a couple patterns to handle missing declarations.