Skip to content

Commit 3e85e79

Browse files
authored
update type definition for debug hook
1 parent fe39699 commit 3e85e79

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

types/index.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ export function combine(...hooks: Hook[]): Hook;
107107
* Display the current hook context for debugging.
108108
* {@link https://feathers-plus.github.io/v1/feathers-hooks-common/index.html#Debug}
109109
*/
110-
export function debug(): Hook;
110+
export function debug(msg: string, fieldNames?: string[]): Hook;
111111

112112
/**
113113
* Deletes a property from an object using dot notation, e.g. address.city. (Utility function.)

0 commit comments

Comments
 (0)