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
13 lines (12 loc) • 404 B
TypeScript
import { BitId } from '../../bit-id';
export default class ComponentID {
legacyComponentId: BitId;
constructor(legacyComponentId: BitId);
get _legacy(): BitId;
get version(): string | undefined;
get name(): string;
isEqual(id: ComponentID): boolean;
toString(): string;
static fromString(idStr: string): ComponentID;
static fromLegacy(legacyId: BitId): ComponentID;
}