Complete the code to declare a variable with the 'any' type.
let data: [1];The 'any' type allows a variable to hold any kind of value without type checking.
Complete the code to assign a string value to a variable typed as 'any'.
let value: any = [1];Assigning a string value requires quotes around the text.
Fix the error in the code by choosing the correct type instead of 'any'.
function greet(name: [1]) { return 'Hello, ' + name; }
The function expects a string for the name parameter, not 'any'.
Fill both blanks to create a typed object instead of using 'any'.
let user: [1] = { name: 'Alice', age: [2] };
Use an object type with 'name' as string and 'age' as number, and assign a number value to age.
Fill all three blanks to avoid 'any' and use proper types in this function.
function multiply(a: [1], b: [2]): [3] { return a * b; }
Both parameters and the return value should be numbers to multiply correctly and avoid 'any'.
