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.

PatternPrompt.d.ts 769B

1234567891011121314151617181920
  1. /**
  2. * Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved.
  3. *
  4. * This source code is licensed under the MIT license found in the
  5. * LICENSE file in the root directory of this source tree.
  6. */
  7. /// <reference types="node" />
  8. import type Prompt from './lib/Prompt';
  9. import type { ScrollOptions } from './types';
  10. export default class PatternPrompt {
  11. protected _pipe: NodeJS.WritableStream;
  12. protected _prompt: Prompt;
  13. protected _entityName: string;
  14. protected _currentUsageRows: number;
  15. constructor(pipe: NodeJS.WritableStream, prompt: Prompt);
  16. run(onSuccess: (value: string) => void, onCancel: () => void, options?: {
  17. header: string;
  18. }): void;
  19. protected _onChange(_pattern: string, _options: ScrollOptions): void;
  20. }