From ef0da72e002f7a09b23cdccd0a2f5199819f5479 Mon Sep 17 00:00:00 2001 From: dmg-aimmerman <98171608+dmg-aimmerman@users.noreply.github.com> Date: Fri, 21 Jan 2022 11:08:01 -0500 Subject: [PATCH] [Issue #3] error TS2307: Cannot find module 'handler-function' or its corresponding type declarations Replaced import which was causing this exception --- src/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/index.ts b/src/index.ts index b00e07a..ad49a35 100644 --- a/src/index.ts +++ b/src/index.ts @@ -8,7 +8,7 @@ if (!process[Symbol.for('ts-node.register.instance')]) { }); } -import { HandlerFunction } from 'handler-function'; +import { HandlerFunction } from './handler-function'; /** * Options for setupErrorHandling