refactoring on types

This commit is contained in:
Géry Debongnie
2019-01-23 11:12:54 +01:00
parent 3766fbc7b8
commit 08938d2334
15 changed files with 85 additions and 65 deletions
+4 -6
View File
@@ -1,14 +1,12 @@
import { Env } from "./core/Widget";
import QWeb from "./core/qweb_vdom";
import Router from "./services/router";
import actions from "./services/actions";
const qweb = new QWeb();
const router = new Router();
import { Env } from "./types";
const env: Env = {
qweb: qweb,
services: { router, actions }
qweb: new QWeb(),
router: new Router(),
services: { actions }
};
export default env;