tspace-mysql
Version:
Tspace MySQL is a promise-based ORM for Node.js, designed with modern TypeScript and providing type safety for schema databases.
21 lines (20 loc) • 639 B
TypeScript
declare class Tool {
static import(name: string): any;
static get fs(): {
existsSync: (v: string) => any;
writeFileSync: (path: string, data: string, options?: Record<string, any>) => any;
readdirSync: (path: string, options?: {
withFileTypes: boolean;
}) => any[];
readFileSync: (path: string, encoding: string) => any;
};
static get path(): {
join: (...paths: string[]) => any;
resolve: (...paths: string[]) => any;
};
static get dotenv(): {
config: (options?: Record<string, any>) => any;
};
}
export { Tool };
export default Tool;