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.

utils.d.ts 1.3KB

123456789101112131415161718192021222324252627
  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. import type { Config } from '@jest/types';
  8. declare type ResolveOptions = {
  9. rootDir: Config.Path;
  10. key: string;
  11. filePath: Config.Path;
  12. optional?: boolean;
  13. };
  14. export declare const BULLET: string;
  15. export declare const DOCUMENTATION_NOTE: string;
  16. export declare const resolve: (resolver: string | null | undefined, { key, filePath, rootDir, optional }: ResolveOptions) => string;
  17. export declare const escapeGlobCharacters: (path: Config.Path) => Config.Glob;
  18. export declare const replaceRootDirInPath: (rootDir: Config.Path, filePath: Config.Path) => string;
  19. declare type OrArray<T> = T | Array<T>;
  20. declare type ReplaceRootDirConfigObj = Record<string, Config.Path>;
  21. declare type ReplaceRootDirConfigValues = OrArray<ReplaceRootDirConfigObj> | OrArray<RegExp> | OrArray<Config.Path>;
  22. export declare const _replaceRootDirTags: <T extends ReplaceRootDirConfigValues>(rootDir: Config.Path, config: T) => T;
  23. declare type JSONString = string & {
  24. readonly $$type: never;
  25. };
  26. export declare const isJSONString: (text?: string | JSONString | undefined) => text is JSONString;
  27. export {};