Angular2 using either npm reflect-metadata or core-js/es7/reflect

后端 未结 1 1522
梦谈多话
梦谈多话 2021-01-19 18:59

Looking at Angular2 projects, I see some are using: npm reflect-metadata

and others are using : core-js/es7/reflect

I know both are implementing the ES7 prop

相关标签:
1条回答
  • 2021-01-19 19:42

    core-js/es7/reflect: The native JavaScript support for a metadata reflection API.

    npm reflect-metadata: The TypeScript support for the prototype of the ES7 Reflection API.

    Hope this help!

    0 讨论(0)
提交回复
热议问题