How do you get a new instance from InjectionToken

前端 未结 0 429
礼貌的吻别
礼貌的吻别 2021-01-30 05:04

I created a configurable module which accepts a LOGGER_TOKEN for type LoggerInterface.

By default, LOGGER_TOKEN is set to LoggerA class.

export const LOGGE         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题