Skip to content

Commit 758a6bd

Browse files
front-end-captainPodaruDragosJameskmonger
authored
fix: remove circular import (#1516)
Co-authored-by: Podaru Dragos <[email protected]> Co-authored-by: James Monger <[email protected]>
1 parent dcaeda4 commit 758a6bd

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

Diff for: src/scope/scope.ts

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
import { BindingScopeEnum, interfaces } from '../inversify';
1+
import { BindingScopeEnum } from '../constants/literal_types';
2+
import type { interfaces } from '../interfaces/interfaces'
23
import { isPromise } from '../utils/async';
34

45
export const tryGetFromScope = <T>(

Diff for: src/utils/binding_utils.ts

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
import { getServiceIdentifierAsString, interfaces } from '../inversify';
1+
import { getServiceIdentifierAsString } from '../utils/serialization';
2+
import type { interfaces } from '../interfaces/interfaces'
23
import * as ERROR_MSGS from '../constants/error_msgs';
34
import { BindingTypeEnum } from '../constants/literal_types';
45
import { FactoryType } from './factory_type';

0 commit comments

Comments
 (0)