Got this debugging another error. Filing here for reference. Original code: https://phabricator.intern.facebook.com/P59317705
break;
    }
  };
}
export default function<T, P, I, TI, HI, PI, C, CC, CX, PL>(
  config: HostConfig<T, P, I, TI, HI, PI, C, CC, CX, PL>,
) {
  const stack = ReactFiberStack();
  const hostContext = ReactFiberHostContext(config, stack);
  const legacyContext = ReactFiberLegacyContext(stack);
  const newContext = ReactFiberNewContext(stack);
  const {popHostContext, popHostContainer} = hostContext;
  const {
    popTopLevelContextObject: popTopLevelLegacyContextObject,
    popContextProvider: popLegacyContextProvider,
  } = legacyContext;
  const {popProvider} = newContext;
  const hydrationContext: HydrationContext<C, CX> = ReactFiberHydrationContext(
    config,
  );
  const {beginWork} = ReactFiberBeginWork(
    config,
    hostContext,
    legacyContext,
    newContext,
    hydrationContext,
    scheduleWork,
    computeExpirationForFiber,
  );
  const {completeWork} = ReactFiberCompleteWork(