sussy-util
Version:
Util package made by me
10 lines (9 loc) • 400 B
TypeScript
import { MutableObject } from '../Types';
/**
* It takes a directory path as a string, and returns an object with the directory's contents as
* properties.
* @param {string} dir - string - The directory to read from
* @returns An object with the content of the directory.
*/
declare const getContentFromDirectory: (dir: string) => MutableObject<unknown>;
export default getContentFromDirectory;