How to fix import/no-named-as-default rule when you want to change the name of a default import?

后端 未结 0 980
长情又很酷
长情又很酷 2021-02-13 18:17

I have the following warning from ESlint import plugin:

eslint - import/no-named-as-default: use default import syntax to import clearRegister.

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