Skip to content

Commit 5296e8d

Browse files
authored
use return type of node require
1 parent fc2949b commit 5296e8d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

index.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
declare namespace appRootPath {
22
export function resolve(pathToModule: string): string
3-
export function require(pathToModule: string): any
3+
export function require(pathToModule: string): ReturnType<NodeRequire>
44
export function toString(): string
55
export function setPath(explicitlySetPath: string): void
66
export const path: string

0 commit comments

Comments
 (0)