Installation
npm install --save @types/configstore
Summary
This package contains type definitions for configstore (https://github.com/yeoman/configstore).
Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/configstore.
export default class Configstore {
constructor(packageName: string, defaults?: any, options?: ConfigstoreOptions);
path: string;
all: any;
size: number;
get(key: string): any;
set(key: string, val: any): void;
set(values: any): void;
has(key: string): boolean;
delete(key: string): void;
clear(): void;
}
export interface ConfigstoreOptions {
globalConfigPath?: boolean | undefined;
configPath?: string | undefined;
}
Additional Details
- Last updated: Mon, 06 Nov 2023 22:41:05 GMT
- Dependencies: none
Credits
These definitions were written by ArcticLight.