bit-bin
Version:
<a href="https://opensource.org/licenses/Apache-2.0"><img alt="apache" src="https://img.shields.io/badge/License-Apache%202.0-blue.svg"></a> <a href="https://github.com/teambit/bit/blob/master/CONTRIBUTING.md"><img alt="prs" src="https://img.shields.io/b
18 lines (17 loc) • 444 B
TypeScript
import Remote from '../remotes/remote';
export default class GlobalRemotes {
remotes: {
[key: string]: string;
};
constructor(remotes: {
[key: string]: string;
});
addRemote(remote: Remote): this;
rmRemote(name: string): boolean;
toJson(readable?: boolean): string;
toPlainObject(): {
[key: string]: string;
};
write(): Promise<void>;
static load(): Promise<GlobalRemotes>;
}