graphql-typed-client
Version:
A tool that generates a strongly typed client library for any GraphQL endpoint. The client allows writing GraphQL queries as plain JS objects (with type safety, awesome code completion experience, custom scalar type mapping, type guards and more)
16 lines • 535 B
JavaScript
var __importDefault = (this && this.__importDefault) || function (mod) {
return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
var prettier_1 = __importDefault(require("prettier"));
exports.prettify = function (code, parser) {
return prettier_1.default.format(code, {
parser: parser,
semi: false,
singleQuote: true,
trailingComma: 'all',
printWidth: 125,
});
};
//# sourceMappingURL=prettify.js.map
;