[IMP] improve tests of transition directive

This commit is contained in:
Aaron Bohy
2019-05-10 17:46:32 +02:00
parent c2280ff1bb
commit 649e20b956
6 changed files with 210 additions and 27 deletions
+7 -1
View File
@@ -96,7 +96,13 @@ const NODE_HOOKS_PARAMS = {
remove: "(vn, rm)"
};
export const UTILS = {
interface Utils {
h: typeof h;
objectToAttrString(obj: Object): string;
[key: string]: any;
};
export const UTILS:Utils = {
h: h,
objectToAttrString(obj: Object): string {
let classes: string[] = [];