Skip to content

Commit

Permalink
fix: fix esm import extensions
Browse files Browse the repository at this point in the history
  • Loading branch information
ASafaeirad committed Apr 13, 2024
1 parent ef4c4ec commit 34b8b20
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion src/guards/isEmptyObject.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { isPlainObject } from './isPlainObject';
import { isPlainObject } from './isPlainObject.js';

/**
* Check whether the given value is an empty object or not
Expand Down
2 changes: 1 addition & 1 deletion src/guards/isMap.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { getTypeOf } from '../types';
import { getTypeOf } from '../types/getTypeOf.js';

/**
* Check whether the given value is a Map or not.
Expand Down
2 changes: 1 addition & 1 deletion src/guards/isSet.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { getTypeOf } from '../types';
import { getTypeOf } from '../types/getTypeOf.js';

/**
* Check whether the given value is a Set or not.
Expand Down
4 changes: 2 additions & 2 deletions src/object/clone.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { getTypeOf } from '../types';
import { isPlainObject } from '../guards';
import { getTypeOf } from '../types/getTypeOf.js';
import { isPlainObject } from '../guards/isPlainObject.js';
import type { ObjectType } from '../types/types';

type HelperTags = keyof typeof cloneFns;
Expand Down
2 changes: 1 addition & 1 deletion src/object/merge.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { isMap, isSet, isPlainObject } from '../guards';
import { isMap, isSet, isPlainObject } from '../guards/index.js';
import type { Merge, ObjectType } from '../types/types';

interface ComposerArguments {
Expand Down

0 comments on commit 34b8b20

Please sign in to comment.