VUE_GabenParadise/node_modules/protobufjs/cli/pbts.d.ts

10 lines
363 B
TypeScript
Raw Normal View History

2020-08-10 12:35:19 +00:00
type pbtsCallback = (err: Error|null, output?: string) => void;
/**
* Runs pbts programmatically.
* @param {string[]} args Command line arguments
* @param {function(?Error, string=)} [callback] Optional completion callback
* @returns {number|undefined} Exit code, if known
*/
export function main(args: string[], callback?: pbtsCallback): number|undefined;