mirror of
https://github.com/marcogll/passkit-generator.git
synced 2026-03-15 23:25:26 +00:00
Removed barcodes autocompletion
This commit is contained in:
10
src/utils.ts
10
src/utils.ts
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user