Skip to content

Commit

Permalink
Merge pull request #5 from Jipperism/typescript-definitions
Browse files Browse the repository at this point in the history
Use correct NodeUrl type
  • Loading branch information
mojodna authored Aug 1, 2017
2 parents f3e2054 + c98a945 commit 8e96061
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion index.d.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
// Type definitions for require-env 0.2.0
// Project: require-env
// Definitions by: Jip Stavenuiter https://github.com/Jipperism
import * as NodeUrl from 'url';

export function contains(name: string): boolean;
export function inherit(filename: string): void;
export function require(name: string): string;
export function requireUrl(name: string): URL;
export function requireUrl(name: string): NodeUrl.Url;

0 comments on commit 8e96061

Please sign in to comment.