We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 6686d7d + 40240ec commit f8a4815Copy full SHA for f8a4815
packages/graphql/plugin.js
@@ -1,4 +1,8 @@
1
'use strict';
2
Object.defineProperty(exports, '__esModule', { value: true });
3
const tslib_1 = require('tslib');
4
-(0, tslib_1.__exportStar)(require('./dist/plugin'), exports);
+const plugin = require('./dist/plugin');
5
+(0, tslib_1.__exportStar)(plugin, exports);
6
+
7
+/** Compatibility with ts-patch/ttypescript */
8
+exports.default = (program, options) => plugin.before(options, program);
0 commit comments