aboutsummaryrefslogtreecommitdiff
path: root/node_modules/simple-git/promise.d.ts
diff options
context:
space:
mode:
authorMinteck <contact@minteck.org>2022-04-17 17:37:10 +0200
committerMinteck <contact@minteck.org>2022-04-17 17:37:10 +0200
commit4081c2036a5af21519095da1b8b99c507b0fba93 (patch)
treefc95894e74c84d4d34c0d761837e8d6175829dd7 /node_modules/simple-git/promise.d.ts
parent637ca7ba746c0241aaec79b79349d5dac4ec7408 (diff)
downloadtwilight-4081c2036a5af21519095da1b8b99c507b0fba93.tar.gz
twilight-4081c2036a5af21519095da1b8b99c507b0fba93.tar.bz2
twilight-4081c2036a5af21519095da1b8b99c507b0fba93.zip
Deprecation
Diffstat (limited to 'node_modules/simple-git/promise.d.ts')
-rw-r--r--node_modules/simple-git/promise.d.ts73
1 files changed, 0 insertions, 73 deletions
diff --git a/node_modules/simple-git/promise.d.ts b/node_modules/simple-git/promise.d.ts
deleted file mode 100644
index 7f70976..0000000
--- a/node_modules/simple-git/promise.d.ts
+++ /dev/null
@@ -1,73 +0,0 @@
-import * as errors from './typings/errors';
-import * as types from './typings/types';
-import * as resp from './typings/response';
-import * as simpleGit from './typings/simple-git';
-
-/**
- * @deprecated
- *
- * simple-git has supported promises / async await since version 2.6.0.
- * Importing from 'simple-git/promise' has been deprecated and will be
- * removed by July 2022.
- *
- * To upgrade, change all 'simple-git/promise' imports to just 'simple-git'
- */
-declare const simplegit: simplegit.SimpleGitExport;
-
-declare namespace simplegit {
-
- type SimpleGitExport = ((basePath?: string) => simplegit.SimpleGit) & {
- CleanOptions: typeof types.CleanOptions
- };
-
- /**
- * @deprecated
- *
- * simple-git has supported promises / async await since version 2.6.0.
- * Importing from 'simple-git/promise' has been deprecated and will be
- * removed by July 2022.
- *
- * To upgrade, change all 'simple-git/promise' imports to just 'simple-git'
- */
- type SimpleGit = simpleGit.SimpleGit;
-
- // errors
- type GitError = errors.GitError;
- type GitConstructError = errors.GitConstructError;
- type GitResponseError<T> = errors.GitResponseError<T>;
- type TaskConfigurationError = errors.TaskConfigurationError;
-
- // responses
- type BranchSummary = resp.BranchSummary
- type CleanSummary = resp.CleanSummary;
- type CleanMode = types.CleanMode;
- type DiffResult = resp.DiffResult;
- type FetchResult = resp.FetchResult;
- type CommitResult = resp.CommitResult;
- type MergeResult = resp.MergeResult;
- type PullResult = resp.PullResult;
- type StatusResult = resp.StatusResult;
- type TagResult = resp.TagResult;
-
- // types
- type outputHandler = types.outputHandler
- type LogOptions<T = types.DefaultLogFields> = types.LogOptions<T>;
- type Options = types.Options;
-
- // deprecated
- /** @deprecated use MergeResult */
- type MergeSummary = resp.MergeSummary;
- /** @deprecated use CommitResult */
- type CommitSummary = resp.CommitResult;
-}
-
-/**
- * @deprecated
- *
- * simple-git has supported promises / async await since version 2.6.0.
- * Importing from 'simple-git/promise' has been deprecated and will be
- * removed by July 2022.
- *
- * To upgrade, change all 'simple-git/promise' imports to just 'simple-git'
- */
-export = simplegit;