fix(build): modernize project configuration and tighten Node.js typing support
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
// node native
|
||||
import * as path from 'path';
|
||||
import * as path from 'node:path';
|
||||
|
||||
export { path };
|
||||
|
||||
@@ -14,7 +14,7 @@ export { smartenv, smartfile, smartpath, smartpromise, smartstring, smarttime };
|
||||
|
||||
// third party
|
||||
import * as diff from 'diff';
|
||||
import isomorphicGit from 'isomorphic-git';
|
||||
import isomorphicGit, { type HttpClient } from 'isomorphic-git';
|
||||
import { minimatch } from 'minimatch';
|
||||
|
||||
export { diff, isomorphicGit, minimatch };
|
||||
export { diff, isomorphicGit, minimatch, type HttpClient };
|
||||
|
||||
Reference in New Issue
Block a user