in sbt-scrooge-typescript/src/main/scala/com/gu/thrift/ScroogeTypescriptGen.scala [189:193]
def sequentially(currentState: State)(actions: Seq[(Extracted, State) => State]): State = {
actions.foldLeft(currentState){
case (state, action) => action(Project.extract(state), state)
}
}