UNPKG

type-graphql

Version:

Create GraphQL schema and resolvers with TypeScript, using classes and decorators!

11 lines (10 loc) 326 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.InvalidDirectiveError = void 0; class InvalidDirectiveError extends Error { constructor(msg) { super(msg); Object.setPrototypeOf(this, new.target.prototype); } } exports.InvalidDirectiveError = InvalidDirectiveError;