File tree 3 files changed +7
-7
lines changed 3 files changed +7
-7
lines changed Original file line number Diff line number Diff line change 1
- import { ConfigGetResult , ConfigListSummary , SimpleGit } from '../../../typings' ;
1
+ import type { ConfigGetResult , ConfigListSummary , SimpleGit } from '../../../typings' ;
2
2
import { configGetParser , configListParser } from '../responses/ConfigList' ;
3
- import { SimpleGitApi } from '../simple-git-api' ;
4
- import { StringTask } from '../types' ;
3
+ import type { SimpleGitApi } from '../simple-git-api' ;
4
+ import type { StringTask } from '../types' ;
5
5
import { trailingFunctionArgument } from '../utils' ;
6
6
7
7
export enum GitConfigScope {
Original file line number Diff line number Diff line change @@ -170,7 +170,7 @@ export interface SimpleGit extends SimpleGitBase {
170
170
key : string ,
171
171
value : string ,
172
172
append ?: boolean ,
173
- scope ?: keyof types . GitConfigScope ,
173
+ scope ?: keyof typeof types . GitConfigScope ,
174
174
callback ?: types . SimpleGitTaskCallback < string >
175
175
) : Response < string > ;
176
176
@@ -205,7 +205,7 @@ export interface SimpleGit extends SimpleGitBase {
205
205
* Configuration values visible to git in the current working directory
206
206
*/
207
207
listConfig (
208
- scope : keyof types . GitConfigScope ,
208
+ scope : keyof typeof types . GitConfigScope ,
209
209
callback ?: types . SimpleGitTaskCallback < resp . ConfigListSummary >
210
210
) : Response < resp . ConfigListSummary > ;
211
211
@@ -557,7 +557,7 @@ export interface SimpleGit extends SimpleGitBase {
557
557
*/
558
558
getConfig (
559
559
key : string ,
560
- scope ?: keyof types . GitConfigScope ,
560
+ scope ?: keyof typeof types . GitConfigScope ,
561
561
callback ?: types . SimpleGitTaskCallback < string >
562
562
) : Response < resp . ConfigGetResult > ;
563
563
Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ export type { ApplyOptions } from '../src/lib/tasks/apply-patch';
14
14
export type { CheckRepoActions } from '../src/lib/tasks/check-is-repo' ;
15
15
export type { CleanOptions , CleanMode } from '../src/lib/tasks/clean' ;
16
16
export type { CloneOptions } from '../src/lib/tasks/clone' ;
17
- export type { GitConfigScope } from '../src/lib/tasks/config' ;
17
+ export { GitConfigScope } from '../src/lib/tasks/config' ;
18
18
export type { GitGrepQuery , grepQueryBuilder } from '../src/lib/tasks/grep' ;
19
19
export type { ResetOptions , ResetMode } from '../src/lib/tasks/reset' ;
20
20
export type { VersionResult } from '../src/lib/tasks/version' ;
You can’t perform that action at this time.
0 commit comments