Skip to content

Commit

Permalink
fix: export type information for node16 module resolution
Browse files Browse the repository at this point in the history
  • Loading branch information
RebeccaStevens committed Jun 12, 2022
1 parent 0a47f0f commit 1cc2106
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 0 deletions.
5 changes: 5 additions & 0 deletions is-plain-object.d.cts
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
type IsPlainObject = {
isPlainObject(o: any): boolean;
};

export = IsPlainObject;
File renamed without changes.
4 changes: 4 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,10 @@
],
"exports": {
".": {
"types": {
"import": "./is-plain-object.d.mts",
"require": "./is-plain-object.d.cts"
},
"import": "./dist/is-plain-object.mjs",
"require": "./dist/is-plain-object.js"
},
Expand Down

0 comments on commit 1cc2106

Please sign in to comment.