You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
553 B
22 lines
553 B
export declare enum ERROR_CODE {
|
|
UNKNOWN = "UNKNOWN",
|
|
EPERM = "EPERM",
|
|
ERROR = "ERROR",
|
|
OTHER = "OTHER"
|
|
}
|
|
export declare enum SUPPORTED_EDITTORS {
|
|
'vscode' = "code",
|
|
'sublime' = "subl",
|
|
'atom' = "atom",
|
|
'webstorm' = "webstorm",
|
|
'idea' = "idea"
|
|
}
|
|
export declare type IEditor = keyof typeof SUPPORTED_EDITTORS;
|
|
export declare type IEditorExec = string[];
|
|
export declare type ISupportedEditor = {
|
|
[key in IEditor]: {
|
|
command: IEditorExec;
|
|
};
|
|
};
|
|
export declare type SYSTEMS = 'osx' | 'linux' | 'windows';
|