Skip to content

Commit

Permalink
chore: fix locate signature
Browse files Browse the repository at this point in the history
  • Loading branch information
midrissi committed Nov 8, 2019
1 parent d7a5564 commit 98545d9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,6 @@
}
},
"files": [
"src/**/*.ts",
"dist/**/*.js",
"dist/**/*.ts",
"dist/**/*.map"
Expand Down
3 changes: 2 additions & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
@@ -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<any> {
export function locate(fn: (...args: any[]) => any): Promise<ILocation> {
return s.locate(fn);
}

Expand Down

0 comments on commit 98545d9

Please sign in to comment.