标签: angular typescript angular-module
我面对Angular 6和TypeScript的怪异问题。问题在于,该枚举正使用该模块的forRoot方法转换为数组并传递给模块。当console.logging在其他任何地方时-传递的数组存在,但是如果console.logging在服务提供者内部-数组是null。我附上了回购协议,这将有助于重现该问题。仅对于内置文件或与ng serve --prod一起使用时,会出现此问题。
null
ng serve --prod
This is the repository of the reproducible issue