aboutsummaryrefslogtreecommitdiff
path: root/node_modules/simple-git/src/lib/simple-git-api.d.ts
diff options
context:
space:
mode:
Diffstat (limited to 'node_modules/simple-git/src/lib/simple-git-api.d.ts')
-rw-r--r--node_modules/simple-git/src/lib/simple-git-api.d.ts20
1 files changed, 20 insertions, 0 deletions
diff --git a/node_modules/simple-git/src/lib/simple-git-api.d.ts b/node_modules/simple-git/src/lib/simple-git-api.d.ts
new file mode 100644
index 0000000..0fd7761
--- /dev/null
+++ b/node_modules/simple-git/src/lib/simple-git-api.d.ts
@@ -0,0 +1,20 @@
+import { SimpleGitBase } from '../../typings';
+import { outputHandler, SimpleGitExecutor, SimpleGitTask, SimpleGitTaskCallback } from './types';
+export declare class SimpleGitApi implements SimpleGitBase {
+ private _executor;
+ constructor(_executor: SimpleGitExecutor);
+ protected _runTask<T>(task: SimpleGitTask<T>, then?: SimpleGitTaskCallback<T>): any;
+ add(files: string | string[]): any;
+ cwd(directory: string | {
+ path: string;
+ root?: boolean;
+ }): any;
+ hashObject(path: string, write: boolean | unknown): any;
+ init(bare?: boolean | unknown): any;
+ merge(): any;
+ mergeFromTo(remote: string, branch: string): any;
+ outputHandler(handler: outputHandler): this;
+ push(): any;
+ stash(): any;
+ status(): any;
+}