🔩 Light refactoring

This commit is contained in:
2021-04-27 14:43:57 -07:00
parent a4715efe04
commit 2013d37b45
4 changed files with 12 additions and 17 deletions

View File

@@ -1,3 +1,7 @@
export async function greet(subject: string): string {
return `Hello, ${subject}!`;
import { walkFolder } from "../actions/fileops.actions";
import { IFolderData } from "../../server/interfaces/folder.interface";
export async function greet(path: string): Promise<IFolderData[]> {
console.log(path);
return await walkFolder("./comics");
}