obsidian-dev-utils
Version:
This is the collection of useful functions that you can use for your Obsidian plugin development
14 lines (13 loc) • 491 B
text/typescript
/**
* @packageDocumentation
*
* Contains utility functions for code generation.
*/
/**
* Generates a file at the specified path with the provided lines of code.
*
* @param path - The path where the file will be generated.
* @param lines - An array of strings representing the lines of code to be written in the file.
* @returns A {@link Promise} that resolves when the file generation is complete.
*/
export declare function generate(path: string, lines: string[]): Promise<void>;