method Interface.prototype.setPromptInterface.prototype.setPrompt(prompt: string): voidDeprecatedThe rl.setPrompt() method sets the prompt that will be written to output whenever rl.prompt() is called. Parametersprompt: stringReturn Typevoid