Skip to content

Glossary: TypeScript Beyond the Basics

exports (package.json)

Also written: "exports", types field

The package.json field that lists what other code may import from a package. A `"types"` entry inside it points TypeScript to the package's `.d.ts` file.

Where the book teaches it

Related terms

Scoped nameDeclaration file