diff --git a/types/custom-functions-runtime/index.d.ts b/types/custom-functions-runtime/index.d.ts index 186c15ee1c..2759a2f1cc 100644 --- a/types/custom-functions-runtime/index.d.ts +++ b/types/custom-functions-runtime/index.d.ts @@ -18,7 +18,7 @@ declare namespace CustomFunctions { * @beta * Ties together the function's JavaScript name with the JSON id property */ - function Associate(key: any, functionName: Function): void; + function associate(id: string, function: Function): void; /** * A handler passed automatically as the last parameter