import DependencyContainer type directly from tsyringe

- Redundant re-export of DependencyContainer from tsyringe, caused madge to think it was a circular dependency due to the file name also being tsyringe, deleted the file and importing directly from tsyringe instead.
This commit is contained in:
TheSparta 2023-11-02 00:01:15 +00:00
parent a7334c198b
commit f48e704bf1
7 changed files with 6 additions and 8 deletions

View File

@ -1,4 +1,4 @@
import { DependencyContainer } from "@spt-aki/models/external/tsyringe"; import type { DependencyContainer } from "tsyringe";
export interface IPostAkiLoadMod export interface IPostAkiLoadMod
{ {

View File

@ -1,4 +1,4 @@
import { DependencyContainer } from "@spt-aki/models/external/tsyringe"; import type { DependencyContainer } from "tsyringe";
export interface IPostAkiLoadModAsync export interface IPostAkiLoadModAsync
{ {

View File

@ -1,4 +1,4 @@
import { DependencyContainer } from "@spt-aki/models/external/tsyringe"; import type { DependencyContainer } from "tsyringe";
export interface IPostDBLoadMod export interface IPostDBLoadMod
{ {

View File

@ -1,4 +1,4 @@
import { DependencyContainer } from "@spt-aki/models/external/tsyringe"; import type { DependencyContainer } from "tsyringe";
export interface IPostDBLoadModAsync export interface IPostDBLoadModAsync
{ {

View File

@ -1,4 +1,4 @@
import { DependencyContainer } from "@spt-aki/models/external/tsyringe"; import type { DependencyContainer } from "tsyringe";
export interface IPreAkiLoadMod export interface IPreAkiLoadMod
{ {

View File

@ -1,4 +1,4 @@
import { DependencyContainer } from "@spt-aki/models/external/tsyringe"; import type { DependencyContainer } from "tsyringe";
export interface IPreAkiLoadModAsync export interface IPreAkiLoadModAsync
{ {

View File

@ -1,2 +0,0 @@
import type { DependencyContainer } from "tsyringe";
export type { DependencyContainer } ;