UNPKG

481 BTypeScriptView Raw
1import ManifestFile from '@anycli/manifest-file';
2export interface File {
3 manifest: {
4 plugins: {
5 [name: string]: {
6 tag: string;
7 };
8 };
9 };
10}
11export default class Manifest extends ManifestFile {
12 writeOptions: {
13 spaces: number;
14 };
15 constructor(file: string);
16 list(): Promise<File['manifest']['plugins']>;
17 add(name: string, tag: string): Promise<void>;
18 remove(name: string): Promise<any>;
19}