From 5296e8dd7428b334bee17a4b6f8cf7f85fb35752 Mon Sep 17 00:00:00 2001 From: douira Date: Thu, 16 Sep 2021 23:54:34 +0200 Subject: [PATCH] use return type of node require --- index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.d.ts b/index.d.ts index 890871b..6d2f50c 100644 --- a/index.d.ts +++ b/index.d.ts @@ -1,6 +1,6 @@ declare namespace appRootPath { export function resolve(pathToModule: string): string - export function require(pathToModule: string): any + export function require(pathToModule: string): ReturnType export function toString(): string export function setPath(explicitlySetPath: string): void export const path: string