feat: Add exports.types to package.json #20

Closed
andreavaccari wants to merge 1 commit from feat/exports-types into master
andreavaccari commented 2022-07-07 17:03:38 +02:00 (Migrated from github.com)

This allows TypeScript to correctly resolve type imports when using Node's module resolution with:

  • "moduleResolution": "NodeNext", or
  • "moduleResolution": "Node16"

Refs:

This allows TypeScript to correctly resolve type imports when using Node's module resolution with: * `"moduleResolution": "NodeNext"`, or * `"moduleResolution": "Node16"` Refs: * [Typescript docs](https://www.typescriptlang.org/docs/handbook/release-notes/typescript-4-7.html#packagejson-exports-imports-and-self-referencing) * [Node docs](https://nodejs.org/api/packages.html#community-conditions-definitions)
marijnh commented 2022-08-19 18:12:59 +02:00 (Migrated from github.com)

Closing this awaiting further feedback in https://github.com/ProseMirror/prosemirror-view/pull/131

Closing this awaiting further feedback in https://github.com/ProseMirror/prosemirror-view/pull/131

Pull request closed

Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
prosemirror/prosemirror-state!20
No description provided.