Skip to content
This repository has been archived by the owner on Jul 31, 2024. It is now read-only.

Commit

Permalink
Merge pull request #52 from jaxx2104/fix-confrict-prettier-and-ts
Browse files Browse the repository at this point in the history
prettier と ts がコンフリクトしているので解消
  • Loading branch information
soga-yuichi authored Sep 8, 2022
2 parents 2cde4d3 + 3d0afba commit 03de906
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 4 deletions.
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "freee-firebase-sdk",
"version": "2.1.0",
"version": "2.1.1",
"license": "MIT",
"homepage": "https://github.com/freee/firebase-sdk-js",
"repository": {
Expand Down
2 changes: 1 addition & 1 deletion src/sdk/services/token-manager.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ export class TokenManager {

try {
return await this.refreshToken(freeeToken, userId)
} catch (error: any) {
} catch (error) {
if (error.output && error.output.statusCode === 401) {
console.log('Token is already refreshed in other instance:', error)

Expand Down
1 change: 1 addition & 0 deletions tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
"module": "commonjs",
"noImplicitReturns": true,
"noUnusedLocals": true,
"useUnknownInCatchVariables": false,
"outDir": "lib",
"sourceMap": true,
"strict": true,
Expand Down

0 comments on commit 03de906

Please sign in to comment.