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

14 lines (13 loc) 553 B
import { IsolatorExtension } from '../isolator'; import ConsumerComponent from '../../consumer/component'; import Component from './component'; export declare type ConfigFunc = () => any; export default class ComponentFactory { private isolateEnv; static id: string; static dependencies: (typeof IsolatorExtension)[]; constructor(isolateEnv: IsolatorExtension); create(): void; fromLegacyComponent(legacyComponent: ConsumerComponent): Component; static provider([isolator]: [IsolatorExtension]): Promise<ComponentFactory>; }