Initialisation
Added the packages and files for the backend server
This commit is contained in:
14
node_modules/graphql/jsutils/devAssert.js
generated
vendored
Normal file
14
node_modules/graphql/jsutils/devAssert.js
generated
vendored
Normal file
@@ -0,0 +1,14 @@
|
||||
'use strict';
|
||||
|
||||
Object.defineProperty(exports, '__esModule', {
|
||||
value: true,
|
||||
});
|
||||
exports.devAssert = devAssert;
|
||||
|
||||
function devAssert(condition, message) {
|
||||
const booleanCondition = Boolean(condition);
|
||||
|
||||
if (!booleanCondition) {
|
||||
throw new Error(message);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user