I am looking at the code of some libraries and in one of them I saw this syntax:
export const v4: v4; // What's the meaning of this export style, is it an object?
And then during import I noticed someone imported it as thus:
const { v4: uuidv4 } = require('uuid'); // Also, what is the meaning of this import style?
This leaves me confused from the normal way I usually export and import.