We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fc2949b commit 5296e8dCopy full SHA for 5296e8d
1 file changed
index.d.ts
@@ -1,6 +1,6 @@
1
declare namespace appRootPath {
2
export function resolve(pathToModule: string): string
3
- export function require(pathToModule: string): any
+ export function require(pathToModule: string): ReturnType<NodeRequire>
4
export function toString(): string
5
export function setPath(explicitlySetPath: string): void
6
export const path: string
0 commit comments