Node Key #4
This commit is contained in:
+1
-1
@@ -2,7 +2,7 @@ import { promises as fs } from "fs";
|
||||
import path from "path";
|
||||
|
||||
export async function read<T extends object>(
|
||||
template: T,
|
||||
template: () => T,
|
||||
fp: string,
|
||||
...filePaths: string[]
|
||||
): Promise<T> {
|
||||
|
||||
Reference in New Issue
Block a user