mirror of
https://github.com/odoo/owl.git
synced 2025-10-06 19:59:41 +07:00
[FIX] vdom: fix typing issues, small cleanup
This commit is contained in:
+1
-10
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user