mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-06-04 19:42:46 +08:00
Update index-tests.ts
This commit is contained in:
@@ -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