Global Functions
Documentation
You can call the function
greet
with a string to show a greeting to the user.
Code
greet("hello, world");
Declaration
Use declare function
to declare functions.
declare function greet(greeting: string): void;
Global Functions
Documentation
You can call the function
greet
with a string to show a greeting to the user.
Code
greet("hello, world");
Declaration
Use declare function
to declare functions.
declare function greet(greeting: string): void;
Please login to continue.