auditjs
Version:
Audit dependencies to identify known vulnerabilities and maintenance problems
16 lines (15 loc) • 533 B
TypeScript
import { ConfigPersist } from './ConfigPersist';
export declare abstract class Config {
protected type: string;
protected username: string;
protected token: string;
private directoryName;
private fileName;
private configLocation;
constructor(type: string, username: string, token: string);
protected getConfigLocation(): string;
private tryCreateDirectory;
saveFile(objectToSave: ConfigPersist): boolean;
exists(): boolean;
abstract getConfigFromFile(saveLocation?: string): Config;
}