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