Skip to content

Commit

Permalink
PackageJson: Allow null targets in Exports type (#377)
Browse files Browse the repository at this point in the history
  • Loading branch information
Xunnamius authored Mar 19, 2022
1 parent 716b8b2 commit 25d0204
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions source/package-json.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -227,6 +227,7 @@ declare namespace PackageJson {
Entry points of a module, optionally with conditions and subpath exports.
*/
export type Exports =
| null
| string
| string[]
| {[key in ExportCondition]: Exports}
Expand Down

0 comments on commit 25d0204

Please sign in to comment.