Reorder args

This commit is contained in:
0x1eef 2024-07-12 01:54:50 -03:00
parent 466c10ba08
commit c7112a7640

View file

@ -32,6 +32,7 @@ export { item };
export default function (...args: Args): Postman {
const self = Object.create(null);
const [items, progresscb] = parseArgs(args);
const _package: Package = {
fonts: [],
images: [],
@ -39,7 +40,6 @@ export default function (...args: Args): Postman {
scripts: [],
json: [],
};
const [items, progresscb] = parseArgs(args);
let index = 0;
function onProgress<T>(el: T): T {