mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-10-27 12:21:19 +08:00
commit
e8f8e7471b
2 files changed
+15
No files matched your search
@@ -0,0 +1,6 @@
|
||||
/// <reference path="resolve-from.d.ts" />
|
||||
|
||||
// Much better testing in https://github.com/typed-typings/typed-resolve-from
|
||||
if (typeof resolveFrom !== 'function') {
|
||||
throw new Error('resolveFrom is not a function');
|
||||
}
|
||||
Vendored
+9
@@ -0,0 +1,9 @@
|
||||
// Type definitions for resolve-from
|
||||
// Project: https://github.com/sindresorhus/resolve-from
|
||||
// Definitions by: unional <https://github.com/unional>
|
||||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
||||
declare function resolveFrom(fromDir: string, moduleId: string): string;
|
||||
|
||||
declare module "resolve-from" {
|
||||
export = resolveFrom;
|
||||
}
|
||||
Reference in new issue
Block a user