Skip to content

Commit a222d79

Browse files
authored
refactor: explicitly return undefined in hooks-service.ts (#929)
1 parent 3561ea1 commit a222d79

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/hooks/shared/hooks-service.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,8 @@ export function getHooks(target: any): HookMeta[] | undefined {
9999
if (hooks) {
100100
return [...hooks];
101101
}
102+
103+
return;
102104
}
103105

104106
/**

0 commit comments

Comments
 (0)