xjs-node 3.0.0-alpha.1 → 3.0.0-alpha.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/func/u-file.d.ts +1 -1
- package/package.json +1 -1
package/build/func/u-file.d.ts
CHANGED
|
@@ -30,7 +30,7 @@ export declare namespace UFile {
|
|
|
30
30
|
* @param d default value if the file path doesn't exist. default of this is `{}`.
|
|
31
31
|
* @param encoding encoding used by file reading. default is `utf-8`.
|
|
32
32
|
*/
|
|
33
|
-
function readAsJson<T>(p: MaybeArray<string>, d?: any, encoding?: BufferEncoding): Promise<T>;
|
|
33
|
+
function readAsJson<T = any>(p: MaybeArray<string>, d?: any, encoding?: BufferEncoding): Promise<T>;
|
|
34
34
|
function cp(from: MaybeArray<string>, to: MaybeArray<string>): Promise<void>;
|
|
35
35
|
function mv(from: MaybeArray<string>, to: MaybeArray<string>): Promise<void>;
|
|
36
36
|
function ls(p: MaybeArray<string>): string[];
|