fix(esm): reorganiza exports

This commit is contained in:
Manu Mtz.-Almeida
2018-09-11 10:52:31 +02:00
parent 240531c283
commit bb1924315e
6 changed files with 97 additions and 101 deletions

View File

@@ -1,9 +1,4 @@
import { ComponentRef } from '../interface';
export interface FrameworkDelegate {
attachViewToDom(container: any, component: any, propsOrDataObj?: any, cssClasses?: string[]): Promise<HTMLElement>;
removeViewFromDom(container: any, component: any): Promise<void>;
}
import { ComponentRef, FrameworkDelegate } from '../interface';
export async function attachComponent(
delegate: FrameworkDelegate | undefined,