Skip to content

Commit

Permalink
Merge pull request #50 from douira/patch-1
Browse files Browse the repository at this point in the history
Add Typescript support
  • Loading branch information
inxilpro authored Aug 2, 2022
2 parents e868e55 + 5296e8d commit 506c98d
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions index.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
declare namespace appRootPath {
export function resolve(pathToModule: string): string
export function require(pathToModule: string): ReturnType<NodeRequire>
export function toString(): string
export function setPath(explicitlySetPath: string): void
export const path: string
}
export = appRootPath

0 comments on commit 506c98d

Please sign in to comment.