diff --git a/markdown/bitburner.go.getopponent.md b/markdown/bitburner.go.getopponent.md index 0d60bbce6..f3cec0df1 100644 --- a/markdown/bitburner.go.getopponent.md +++ b/markdown/bitburner.go.getopponent.md @@ -9,9 +9,9 @@ Returns the name of the opponent faction in the current subnet. **Signature:** ```typescript -getOpponent(): GoOpponent | "No AI"; +getOpponent(): GoOpponent; ``` **Returns:** -[GoOpponent](./bitburner.goopponent.md) \| "No AI" +[GoOpponent](./bitburner.goopponent.md) diff --git a/markdown/bitburner.goopponent.md b/markdown/bitburner.goopponent.md index 656b9684e..d943ca3a5 100644 --- a/markdown/bitburner.goopponent.md +++ b/markdown/bitburner.goopponent.md @@ -9,6 +9,7 @@ ```typescript type GoOpponent = + | "No AI" | "Netburners" | "Slum Snakes" | "The Black Hand" diff --git a/src/ScriptEditor/NetscriptDefinitions.d.ts b/src/ScriptEditor/NetscriptDefinitions.d.ts index 7022ce604..c8e33f392 100644 --- a/src/ScriptEditor/NetscriptDefinitions.d.ts +++ b/src/ScriptEditor/NetscriptDefinitions.d.ts @@ -4289,6 +4289,7 @@ export interface Gang { /** @public */ type GoOpponent = + | "No AI" | "Netburners" | "Slum Snakes" | "The Black Hand" @@ -4685,7 +4686,7 @@ export interface Go { /** * Returns the name of the opponent faction in the current subnet. */ - getOpponent(): GoOpponent | "No AI"; + getOpponent(): GoOpponent; /** * Gets new IPvGO subnet with the specified size owned by the listed faction, ready for the player to make a move.