Skip to content

Commit

Permalink
use return type of node require
Browse files Browse the repository at this point in the history
  • Loading branch information
douira authored Sep 16, 2021
1 parent fc2949b commit 5296e8d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.d.ts
Original file line number Diff line number Diff line change
@@ -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<NodeRequire>
export function toString(): string
export function setPath(explicitlySetPath: string): void
export const path: string
Expand Down

0 comments on commit 5296e8d

Please sign in to comment.