🔩 Light refactoring
This commit is contained in:
@@ -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");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user