Software zum Installieren eines Smart-Mirror Frameworks , zum Nutzen von hochschulrelevanten Informationen, auf einem Raspberry-Pi.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

index.d.ts 741B

1234567891011121314151617181920212223
  1. /// <reference types="node" />
  2. import vm from 'vm';
  3. import repl from 'repl';
  4. export interface ReplConfig {
  5. commandTimeout: number;
  6. eval: repl.REPLEval;
  7. prompt: string;
  8. useGlobal: boolean;
  9. useColor: boolean;
  10. }
  11. export declare type ReplCallback = (err: Error | null, result: any) => void;
  12. export default class WDIORepl {
  13. static introMessage: string;
  14. private _config;
  15. private _isCommandRunning;
  16. private _replServer;
  17. constructor(config?: ReplConfig);
  18. eval(cmd: string, context: vm.Context, filename: string | undefined, callback: ReplCallback): void | Promise<any>;
  19. private _runCmd;
  20. private _handleResult;
  21. start(context?: vm.Context): Promise<unknown>;
  22. }
  23. //# sourceMappingURL=index.d.ts.map