/**
 * app.js
 * @flow
 */

import Marionette from "backbone.marionette";
import type Router from "router";
import typeof OxalisController from "oxalis/controller";
import window from "libs/window";

type UserType = {
  firstName: string,
  lastName: string,
  email: string,
  isAnonymous: boolean,
  id: string,
};

class OxalisApplication extends Marionette.Application {
  router: Router;
  oxalis: ?OxalisController;
  currentUser: UserType;
}

// eslint-disable-next-line no-unused-vars
const app = new OxalisApplication();
window.app = app;

export default app;

@@ -196,124 +196,63 @@
 w%22;%0A
-%0Atype UserType = %7B%0A  firstName: string,%0A  lastName: string,%0A  email: string,%0A  isAnonymous: boolean,%0A  id: string,%0A%7D
+import type %7B APIUserType %7D from %22admin/api_flow_types%22
 ;%0A%0Ac
@@ -369,16 +369,19 @@
 ntUser: 
+API
 UserType

fix flow #1441