mirror of
https://github.com/actualbudget/actual.git
synced 2026-05-08 04:49:45 -05:00
20 lines
687 B
JavaScript
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; |