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';
3 comments
Comment actions Permalink

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

0
Comment actions Permalink

I see this question got a few upvotes. Did it ever get a suggestion made?

0

Please sign in to leave a comment.