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 508B

1234567891011121314
  1. /// <reference types="node" />
  2. import { EventEmitter } from 'events';
  3. declare function once<T>(emitter: EventEmitter, name: string): once.CancelablePromise<T>;
  4. declare namespace once {
  5. interface CancelFunction {
  6. (): void;
  7. }
  8. interface CancelablePromise<T> extends Promise<T> {
  9. cancel: CancelFunction;
  10. }
  11. type CancellablePromise<T> = CancelablePromise<T>;
  12. function spread<T extends any[]>(emitter: EventEmitter, name: string): once.CancelablePromise<T>;
  13. }
  14. export = once;