diff --git a/src/index.ts b/src/index.ts index bebe199..77c2efe 100644 --- a/src/index.ts +++ b/src/index.ts @@ -1,7 +1,7 @@ import { isFullArray } from 'is-what' import { O, S, F, U } from 'ts-toolbelt' -import { recursiveOmit } from './recursiveOmit' -import { recursivePick } from './recursivePick' +import { recursiveOmit } from './recursiveOmit.js' +import { recursivePick } from './recursivePick.js' /** * pick returns a new object with only the props you pick diff --git a/src/recursiveOmit.ts b/src/recursiveOmit.ts index 842b2df..2b74c31 100644 --- a/src/recursiveOmit.ts +++ b/src/recursiveOmit.ts @@ -1,5 +1,5 @@ import { isPlainObject } from 'is-what' -import pathsAreEqual from './pathsAreEqual' +import pathsAreEqual from './pathsAreEqual.js' export function recursiveOmit, OmittedKeys extends string[]>( obj: T, diff --git a/src/recursivePick.ts b/src/recursivePick.ts index c0c4943..0e033c8 100644 --- a/src/recursivePick.ts +++ b/src/recursivePick.ts @@ -1,5 +1,5 @@ import { isPlainObject } from 'is-what' -import pathsAreEqual from './pathsAreEqual' +import pathsAreEqual from './pathsAreEqual.js' export function recursivePick, PickedKeys extends string[]>( obj: T,