[FIX] vdom: fix typing issues, small cleanup

This commit is contained in:
Géry Debongnie
2019-04-20 23:31:23 +02:00
parent 2fbf4f2c22
commit f5ce05c81e
3 changed files with 16 additions and 19 deletions
+1 -10
View File
@@ -2,14 +2,7 @@ import { EventBus } from "./event_bus";
import { Observer } from "./observer";
import { QWeb } from "./qweb";
import { idGenerator } from "./utils";
import {
attrsModule,
eventListenersModule,
h,
init,
propsModule,
VNode
} from "./vdom";
import { h, patch, VNode } from "./vdom";
let getId = idGenerator();
@@ -40,8 +33,6 @@ export interface Meta<T extends Env, Props> {
observer?: Observer;
}
const patch = init([eventListenersModule, attrsModule, propsModule]);
export interface Type<T> extends Function {
new (...args: any[]): T;
}