Skip to content

Commit

Permalink
fix: Fix bad imports and remove dead comment
Browse files Browse the repository at this point in the history
Signed-off-by: Janne Savolainen <[email protected]>
(cherry picked from commit 088ecb0)
  • Loading branch information
jansav authored and Iku-turso committed Oct 26, 2023
1 parent 13f7005 commit 1cad69f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
4 changes: 2 additions & 2 deletions packages/fp/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import mapValuesDeep from './src/mapValuesDeep/mapValuesDeep';
import getSafeFrom from './src/getSafeFrom/getSafeFrom';
import getFrom from './src/getFrom/getFrom';
import firstMatchValue from './src/firstMatchValue/firstMatchValue';
import { deepMap } from './src/deepMap/deepMap';
import { DeepMap } from './src/deepMap/deepMap';

export {
awaitAll,
Expand All @@ -22,5 +22,5 @@ export {
getFrom,
getSafeFrom,
firstMatchValue,
deepMap,
DeepMap,
};
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { getNamespacedIdFor } from './getNamespacedIdFor';
import { registrationCallbackToken } from './tokens';
import toFlatInjectables from './toFlatInjectables';
import { DeepMap } from '@ogre-tools/fp/src/deepMap/deepMap';
import { DeepMap } from '@ogre-tools/fp';

export const registerFor =
({ registerSingle, injectMany }) =>
Expand Down Expand Up @@ -63,7 +63,6 @@ export const registerSingleFor =
injectableIdSet.add(namespacedId);
injectableSet.add(injectable);
namespacedIdByInjectableMap.set(injectable, namespacedId);
// tärkeä
instancesByInjectableMap.set(injectable, new DeepMap());

if (injectable.injectionToken) {
Expand Down

0 comments on commit 1cad69f

Please sign in to comment.