Closed huan closed 6 years ago
Currently, we have to use a factory to create the Db dependence injection manually.
import { DbModule } from 'db' ... @NgModule({ ... imports: [ ... DbModule.forRoot() ], })
Done.
See: https://github.com/Chatie/db/blob/ee8e4db7bed66d7459d2c9ab5b06af317b2ff3d3/src/db-module.ts
Currently, we have to use a factory to create the Db dependence injection manually.
See Also