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

Commit 03de906

Browse files
authored
Merge pull request #52 from jaxx2104/fix-confrict-prettier-and-ts
prettier と ts がコンフリクトしているので解消
2 parents 2cde4d3 + 3d0afba commit 03de906

File tree

4 files changed

+5
-4
lines changed

4 files changed

+5
-4
lines changed

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "freee-firebase-sdk",
3-
"version": "2.1.0",
3+
"version": "2.1.1",
44
"license": "MIT",
55
"homepage": "https://github.com/freee/firebase-sdk-js",
66
"repository": {

src/sdk/services/token-manager.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ export class TokenManager {
3232

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

tsconfig.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
"module": "commonjs",
55
"noImplicitReturns": true,
66
"noUnusedLocals": true,
7+
"useUnknownInCatchVariables": false,
78
"outDir": "lib",
89
"sourceMap": true,
910
"strict": true,

0 commit comments

Comments
 (0)