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

Commit

Permalink
fix(handlers): typescript redeclare issue (#20)
Browse files Browse the repository at this point in the history
  • Loading branch information
ranrib committed Nov 21, 2018
1 parent c2644a9 commit 14bda9a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/handlers.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@ epsagon.init({
module.exports.METHOD = epsagon.WRAPPER_TYPE(handler.METHOD);
`,
tsnode: `
const epsagon = require('epsagon');
const handler = require('../RELATIVE_PATH.ts');
var epsagon = require('epsagon');
var handler = require('../RELATIVE_PATH.ts');
epsagon.init({
token: 'TOKEN',
Expand Down

0 comments on commit 14bda9a

Please sign in to comment.