Reorder args
This commit is contained in:
parent
466c10ba08
commit
c7112a7640
1 changed files with 1 additions and 1 deletions
|
@ -32,6 +32,7 @@ export { item };
|
||||||
|
|
||||||
export default function (...args: Args): Postman {
|
export default function (...args: Args): Postman {
|
||||||
const self = Object.create(null);
|
const self = Object.create(null);
|
||||||
|
const [items, progresscb] = parseArgs(args);
|
||||||
const _package: Package = {
|
const _package: Package = {
|
||||||
fonts: [],
|
fonts: [],
|
||||||
images: [],
|
images: [],
|
||||||
|
@ -39,7 +40,6 @@ export default function (...args: Args): Postman {
|
||||||
scripts: [],
|
scripts: [],
|
||||||
json: [],
|
json: [],
|
||||||
};
|
};
|
||||||
const [items, progresscb] = parseArgs(args);
|
|
||||||
|
|
||||||
let index = 0;
|
let index = 0;
|
||||||
function onProgress<T>(el: T): T {
|
function onProgress<T>(el: T): T {
|
||||||
|
|
Loading…
Reference in a new issue