@@ -10,7 +10,7 @@ import { objectsEqual } from "./utils";
1010
1111type Rules = {
1212 [ index : string ] : (
13- context : TotalInformationState ,
13+ context : TotalInformationState
1414 ) => ( ( x : void ) => InformationState ) | undefined ;
1515} ;
1616
@@ -220,7 +220,7 @@ export const rules: Rules = {
220220 const question = action . content as Question ;
221221 const propositionFromDB = is . database . consultDB (
222222 question ,
223- is . shared . com ,
223+ is . shared . com
224224 ) ;
225225 if ( propositionFromDB ) {
226226 return ( ) => ( {
@@ -264,13 +264,13 @@ export const rules: Rules = {
264264 if ( is . private . plan [ 0 ] && is . private . plan [ 0 ] . type === "raise" ) {
265265 newIS = {
266266 ...is ,
267- next_moves : [ ...is . next_moves , { type : "ask" , content : q } ] ,
267+ next_moves : [ ...is . next_moves , { type : "ask" , content : q } ] ,
268268 private : { ...is . private , plan : [ ...is . private . plan . slice ( 1 ) ] } ,
269269 } ;
270270 } else {
271271 newIS = {
272272 ...is ,
273- next_moves : [ ...is . next_moves , { type : "ask" , content : q } ] ,
273+ next_moves : [ ...is . next_moves , { type : "ask" , content : q } ] ,
274274 } ;
275275 }
276276 return ( ) => newIS ;
@@ -314,7 +314,7 @@ export const rules: Rules = {
314314 const answerMove : Move = { type : "answer" , content : bel } ;
315315 return ( ) => ( {
316316 ...is ,
317- next_moves : [ ...is . next_moves , answerMove ]
317+ next_moves : [ ...is . next_moves , answerMove ] ,
318318 } ) ;
319319 }
320320 }
@@ -326,7 +326,7 @@ export const rules: Rules = {
326326 if ( is . private . agenda [ 0 ] && is . private . agenda [ 0 ] . type === "greet" ) {
327327 return ( ) => ( {
328328 ...is ,
329- next_moves : [ ...is . next_moves , is . private . agenda [ 0 ] as Move ]
329+ next_moves : [ ...is . next_moves , is . private . agenda [ 0 ] as Move ] ,
330330 } ) ;
331331 }
332332 } ,
0 commit comments