Level 102
Show the full error. We cannot guess based on two lines of code
Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.
Trying to import prompt-sync in typescript but getting error duplicate identifier.
var prompt = require('prompt-sync')();
let number = Number(prompt("Enter Number: "));
I installed the prompt-sync library but still getting this error...
Please or to participate in this conversation.