Generates a unique id value.
function newid(prefix:string = 'id'): string
prefix:string
Prefix the return value with this string
A new unique id
import newid from '@deskpro/js-utils/dist/newid';
console.log(newid()); // Outputs: 'id1'
console.log(newid()); // Outputs: 'id2'
console.log(newid('prefix-')); // Outputs: 'prefix-3'