first npm install --save-dev @types/uuid sec :import { v4 as uuid } from 'uuid'; third :const id: string = uuid();
import * as uuid from 'uuid'; const myId = uuid.v4()