Code QuizAdvanced

Parameters Needs typeof

Learn to feed Parameters a function type via typeof, not the value itself.

Codetypescript
function updateUser(id: number, name: string) {}

type Args = Parameters<updateUser>;

What is the bug in this code?