@dans98/compile-run
Version:
You can execute programs in different languages using this package
16 lines (15 loc) • 576 B
TypeScript
import { LanguageExtMap } from './interfaces/Language-ext';
import { Result } from './interfaces/result';
import { Options } from './interfaces/options';
export declare type LanguageNames = 'c';
export { LanguageExtMap, Result, Options };
/**
* Optional callback for the run APIs
* @param err Error if any
* @param res The result object containing stderr and stdout
*/
export declare type errorResultCallback = (err: Error | undefined, res?: Result) => void;
export declare type CompileCSourceResult = {
filePath: string;
executablePath: string;
};