// @flow

export type NothingAction = {
	type: "Nothing"
};

export type GameStartAction = {
	type: "GameStart"
};

export type ConcedeAction = {
	type: "Concede",
	player: string
};

export type PassPriorityAction = {
	type: "PassPriority",
	player: string
};

/**
 * Represents an action that mutates the game's state.
 */
export type GameAction =
	NothingAction |
	GameStartAction |
	ConcedeAction |
	PassPriorityAction;
@@ -24,32 +24,33 @@
 othingAction = %7B
+%7C
 %0A%09type: %22Nothing
@@ -51,16 +51,17 @@
 othing%22%0A
+%7C
 %7D;%0A%0Aexpo
@@ -79,32 +79,33 @@
 eStartAction = %7B
+%7C
 %0A%09type: %22GameSta
@@ -108,16 +108,17 @@
 eStart%22%0A
+%7C
 %7D;%0A%0Aexpo
@@ -134,32 +134,33 @@
 oncedeAction = %7B
+%7C
 %0A%09type: %22Concede
@@ -174,24 +174,25 @@
 yer: string%0A
+%7C
 %7D;%0A%0Aexport t
@@ -217,16 +217,17 @@
 tion = %7B
+%7C
 %0A%09type: 
@@ -258,16 +258,17 @@
  string%0A
+%7C
 %7D;%0A%0A/**%0A

Switch GameAction to be exact, fixes Flow type narrowing