How to refactor default export?
Let's say I have this in a JS file:
export default function myFunc() {}
How do I refactor this to remove "default" so that all the files importing this function will change to:
import { myFunc } from '@/util/stuff';
请先登录再写评论。
there is no such refactoring; if you miss it, please feel free to file a feature request to youtrack, https://youtrack.jetbrains.com/issues/WEB
I see this question got a few upvotes. Did it ever get a suggestion made?
Created an issue
https://youtrack.jetbrains.com/issue/WEB-55093
Upvote it there
Any updates?