🚀 feat(index.d.ts): add copy method to the global declaration to enable file or directory copying
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
The copy method is added to the global declaration in order to provide a convenient way to copy files or directories. This method takes the source path and destination path as parameters and performs the copy operation. This addition enhances the functionality of the global declaration and allows for easier file management within the application.
This commit is contained in:
8
index.d.ts
vendored
8
index.d.ts
vendored
@@ -248,6 +248,14 @@ declare global {
|
||||
* @param path
|
||||
*/
|
||||
remove(path: string): void
|
||||
|
||||
/**
|
||||
* copy file or directory
|
||||
*
|
||||
* @param src
|
||||
* @param dest
|
||||
*/
|
||||
copy(src: string, dest: string): void
|
||||
}
|
||||
|
||||
interface TplPackage {
|
||||
|
||||
Reference in New Issue
Block a user