mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-10-27 12:21:19 +08:00
Update index-tests.ts
This commit is contained in:
1 parent
9468e5badc
commit
37ade3080e
1 file changed
+5
-4
@@ -1,5 +1,6 @@
|
||||
/// <reference path="index.d.ts" />
|
||||
|
||||
// Much better testing in https://github.com/typed-typings/typed-resolve-from
|
||||
|
||||
import resolveFrom = require('resolve-from');
|
||||
|
||||
console.log(typeof resolveFrom === 'function');
|
||||
if (typeof resolveFrom !== 'function') {
|
||||
throw new Error('resolveFrom is not a function');
|
||||
}
|
||||
Reference in new issue
Block a user