Is your feature request related to a problem? Please describe.
For all libraries I use I don't have to write imports manually in WebStorm. All I have to do just write code like const x = doSomething<ALT + Enter> and it shows me hint Add "import doSomething from XXX'?
With export const v4 I have to write manually import as in manual import { v4 as uuidv4 } from 'uuid';. It's frustrating.
Describe the solution you'd like
Change v4() name or add one more export as export const uuid4. So after import it would be very clear what is it about and why.
Describe alternatives you've considered
- Writing manually :(
- Adding somewhere
utils/uuid.ts with
export { v4 as uuid4} from 'uuid'
Is your feature request related to a problem? Please describe.
For all libraries I use I don't have to write imports manually in WebStorm. All I have to do just write code like
const x = doSomething<ALT + Enter>and it shows me hintAdd "import doSomething from XXX'?With
export const v4I have to write manually import as in manualimport { v4 as uuidv4 } from 'uuid';. It's frustrating.Describe the solution you'd like
Change
v4()name or add one more export asexport const uuid4. So after import it would be very clear what is it about and why.Describe alternatives you've considered
utils/uuid.tswith