fix hooker/hooker-tests.ts compile error

This commit is contained in:
vvakame
2015-04-15 23:36:46 +09:00
parent b79d800626
commit 23d8d30144
+2 -2
View File
@@ -11,11 +11,11 @@ function tests() {
hello: 'world'
};
hooker.hook(objectToHook, 'hello', () => { });
hooker.hook(objectToHook, 'hello', () => {
hooker.hook(objectToHook, 'hello', (): any => {
return null;
});
hooker.hook(objectToHook, ['hello', 'foo'], () => { });
hooker.hook(objectToHook, ['hello', 'bar'], () => {
hooker.hook(objectToHook, ['hello', 'bar'], (): any => {
return null;
});
hooker.hook(objectToHook, 'bar', () => {