Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
When a package is being loaded via native ESM with TypeScript in `node16` mode, it looks up the types from the `export` property in package.json Defining a `types` property in `exports` allows for lookup of the typings see: https://www.typescriptlang.org/docs/handbook/esm-node.html#packagejson-exports-imports-and-self-referencing
- Loading branch information