Computer scienceProgramming languagesTypeScriptData TypesBasic Types

Function

Theory

Greet function type expression

Report a typo

Define a TypeScript function type expression named Greet for a function that takes an optional parameter name of type string and returns a string. Write the full expression.

Enter a short text
___

Create a free account to access the full topic