1

I'm making a vscode extension and I see this code snippet used online a lot, but what does the ! here mean? I have never seen not used like this and don't even no what to google to find out what it means.

const workspaceRoot: WorkspaceFolder = workspace.workspaceFolders![0]
Jordan Running
  • 102,619
  • 17
  • 182
  • 182
Arnold Rimmer
  • 2,723
  • 2
  • 16
  • 23

0 Answers0