Coding task · JavaScript and TypeScript course · Module 6: TypeScript Basics
Write TypeScript code and see how the compiler checks types.
Define a function with parameter types and check for compilation errors.