Skip to content

Commit 1cc2106

Browse files
fix: export type information for node16 module resolution
1 parent 0a47f0f commit 1cc2106

File tree

3 files changed

+9
-0
lines changed

3 files changed

+9
-0
lines changed

Diff for: is-plain-object.d.cts

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
type IsPlainObject = {
2+
isPlainObject(o: any): boolean;
3+
};
4+
5+
export = IsPlainObject;
File renamed without changes.

Diff for: package.json

+4
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,10 @@
2525
],
2626
"exports": {
2727
".": {
28+
"types": {
29+
"import": "./is-plain-object.d.mts",
30+
"require": "./is-plain-object.d.cts"
31+
},
2832
"import": "./dist/is-plain-object.mjs",
2933
"require": "./dist/is-plain-object.js"
3034
},

0 commit comments

Comments
 (0)