mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
13 lines
442 B
TypeScript
13 lines
442 B
TypeScript
// Type definitions for require-relative 0.8
|
|
// Project: https://github.com/kamicane/require-relative
|
|
// Definitions by: Mattias Buelens <https://github.com/MattiasBuelens>
|
|
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
|
|
|
declare function requireRelative(id: string, relativeTo?: string): any;
|
|
|
|
declare namespace requireRelative {
|
|
function resolve(id: string, relativeTo?: string): string;
|
|
}
|
|
|
|
export = requireRelative;
|