Removed barcodes autocompletion

This commit is contained in:
Alexander Cerutti
2019-06-29 18:15:07 +02:00
parent c5a8de4964
commit e4c39d837a
2 changed files with 1 additions and 41 deletions

View File

@@ -80,13 +80,3 @@ export function generateStringFile(lang: { [index: string]: string }): Buffer {
return Buffer.from(strings.join(EOL), "utf8");
}
/**
* Creates a new object with custom length property
* @param {number} value - the length
* @param {Array<Object<string, any>>} source - the main sources of properties
*/
export function assignLength<T>(length: number, ...sources: Array<{ [key: string]: any }>): { [key: string]: any } & T {
return Object.assign({ length }, ...sources);
}