mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-08-13 13:30:28 +00:00
fix hooker/hooker-tests.ts compile error
This commit is contained in:
@@ -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', () => {
|
||||
|
||||
Reference in New Issue
Block a user