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
  • 97,653
  • 15
  • 175
  • 173
Arnold Rimmer
  • 2,343
  • 2
  • 13
  • 19

0 Answers0