UNPKG

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

12 lines (11 loc) 491 B
import { Workspace } from '../workspace'; import { ScopeExtension } from '../scope'; import { BitId as ComponentId } from '../../bit-id'; import { Component } from '../component'; export default class ComponentResolver { readonly scope: ScopeExtension; readonly workspace: Workspace | undefined; constructor(scope: ScopeExtension, workspace: Workspace | undefined); get host(): ScopeExtension | Workspace; getComponent(id: ComponentId): Promise<Component | undefined>; }