Skip to content
This repository has been archived by the owner on Jun 23, 2019. It is now read-only.

Commit

Permalink
🔧 Better --esModuleInterop
Browse files Browse the repository at this point in the history
  • Loading branch information
motss committed Mar 19, 2018
1 parent f3057a2 commit 3562931
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/test/helper/custom-error-handler.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ function returnErrorStatus(err) {
}
}

export function customErrorHandler(err, req, res, next) {
export function customErrorHandler(err, _, res, __) {
const errStatus = returnErrorStatus(err);

// console.error('🚨 err', err);
Expand Down
2 changes: 1 addition & 1 deletion src/test/helper/test-config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ export const testAppConfig: MessageflowConfig = {
pageId: 'test-fb-page-id',
typingDelay: 5e2,
verifyToken: 'test-fb-verify-token',
};
} as MessageflowConfig;

export default {
testConfig,
Expand Down
2 changes: 1 addition & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@

"lib": ["esnext", "esnext.array", "esnext.asynciterable"],
"moduleResolution": "node",
"module": "es2015",
"module": "commonjs",
"target": "esnext",
"jsx": "react",
"jsxFactory": "h",
Expand Down

0 comments on commit 3562931

Please sign in to comment.