function enforceInterface()

in src/FluxMixinLegacy.js [111:117]


function enforceInterface(o: any): void {
  invariant(
    o.constructor.calculateState,
    'Components that use FluxMixinLegacy must implement ' +
    '`calculateState()` on the statics object'
  );
}