diff --git a/package.json b/package.json index c6a30cd..1a510f9 100644 --- a/package.json +++ b/package.json @@ -16,7 +16,7 @@ "build:esm": "tsc --module esnext --outDir build/esm", "build:cjs": "tsc --module commonjs --outDir build/cjs", "lint:js": "eslint --ext .js,.jsx,.ts,.tsx", - "lint:prettier": "prettier --check --loglevel=error '**/*.{js,jsx,ts,tsx}'", + "lint:prettier": "prettier --check --loglevel=error 'src/**/*.{js,jsx,ts,tsx}'", "lint": "run-p lint:*", "typecheck": "tsc --noEmit", "prepublishOnly": "npm run build" diff --git a/src/index.ts b/src/index.ts index b97cdfb..44861d0 100644 --- a/src/index.ts +++ b/src/index.ts @@ -218,14 +218,14 @@ export default class AxiosWrapper { url: string, params: ApiMethodParams['params'], options: ApiMethodParams['options'] = {}, - onDownloadProgress + onDownloadProgress, ) { return this.request({ method: 'GET', url, params, options, - onDownloadProgress + onDownloadProgress, }); }