diff --git a/types/catbox/index.d.ts b/types/catbox/index.d.ts index 62b99ac5b3..32fbdf6f3f 100644 --- a/types/catbox/index.d.ts +++ b/types/catbox/index.d.ts @@ -249,7 +249,7 @@ export interface GenerateFuncFlags { * * ttl - the cache ttl value in milliseconds. Set to 0 to skip storing in the cache. Defaults to the cache global policy. * @see {@link https://github.com/hapijs/catbox#policy} */ -export type GenerateFunc = (id: string, flags: GenerateFuncFlags) => Promise; +export type GenerateFunc = (id: Id, flags: GenerateFuncFlags) => Promise; /** * An object with logging information about the generation operation containing the following keys (as relevant):