Files
actual/node_modules/flux/lib/abstractMethod.js
Rich In SQL 28d4ee94dd Init
2022-10-16 20:28:33 +01:00

20 lines
687 B
JavaScript

/**
* Copyright (c) 2014-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @providesModule abstractMethod
*
*/
'use strict';
var invariant = require("fbjs/lib/invariant");
function abstractMethod(className, methodName) {
!false ? process.env.NODE_ENV !== "production" ? invariant(false, 'Subclasses of %s must override %s() with their own implementation.', className, methodName) : invariant(false) : void 0;
}
module.exports = abstractMethod;