标签: reactjs eslint
我想不使用import React, { FunctionComponent } from 'react'; const HelloWorld: FunctionComponent = () => { return <p>Hello World</p> } export HelloWorld; 。相反,我想这样写。
import React, { FunctionComponent } from 'react'; const HelloWorld: FunctionComponent = () => { return <p>Hello World</p> } export HelloWorld;
{{1}}
是否有任何不错的选择可以强制执行此操作? 谢谢!