import { Inject , Injectable , NvInstanceFactory , rootInjector } from "@indiv/di" ; const otherInjector = rootInjector . fork ( ) ; @ Injectable ( { injector : otherInjector , } ) class TestService5 { } class TestService { @ Inject ( { injector : otherInjector } ) public testService5 : TestService5 ; constructor ( private a ) { console . log ( 'aaaa =>>' , this . testService5 ) ; } } const aaa2 = NvInstanceFactory < TestService > ( TestService , [ "1" ] ) ; console . log ( 66666666 , aaa2 , aaa2 . testService5 ) ;