@tingyutech/protobuf-ts-plugin
Version:
The protocol buffer compiler plugin "protobuf-ts" generates TypeScript, gRPC-web, Twirp, and more.
17 lines (16 loc) • 470 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.IndexFile = void 0;
const plugin_framework_1 = require("@protobuf-ts/plugin-framework");
class IndexFile extends plugin_framework_1.TypescriptFile {
constructor(filename) {
super(filename);
}
getHeader() {
return "/* eslint-disable */\n";
}
getContent() {
return this.getHeader() + super.getContent();
}
}
exports.IndexFile = IndexFile;