UNPKG

@graphql-tools/executor

Version:

Fork of GraphQL.js' execute function

9 lines (8 loc) 267 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.invariant = invariant; function invariant(condition, message) { if (!condition) { throw new Error(message != null ? message : 'Unexpected invariant triggered.'); } }