From 98545d952704fd960c1c5e06ad55b9a6db4ce37d Mon Sep 17 00:00:00 2001 From: Mohamed IDRISSI Date: Fri, 8 Nov 2019 12:04:28 +0100 Subject: [PATCH] chore: fix locate signature --- package.json | 1 - src/index.ts | 3 ++- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 795261b..5d44a56 100644 --- a/package.json +++ b/package.json @@ -70,7 +70,6 @@ } }, "files": [ - "src/**/*.ts", "dist/**/*.js", "dist/**/*.ts", "dist/**/*.map" diff --git a/src/index.ts b/src/index.ts index 0c47442..23706d8 100644 --- a/src/index.ts +++ b/src/index.ts @@ -1,8 +1,9 @@ import { SessionManager } from "./session-manager.class"; +import { ILocation } from "./cache-amanger.class"; const s = new SessionManager(); -export function locate(fn: (...args: any[]) => any): Promise { +export function locate(fn: (...args: any[]) => any): Promise { return s.locate(fn); }