function alert alert(message?: string): void Shows the given message and waits for the enter key pressed. If the stdin is not interactive, it does nothing. Parameters optional message: string Return Type void