file-system-utility.d.ts 463 B

12345678910111213
  1. /**
  2. * @license
  3. * Copyright Google Inc. All Rights Reserved.
  4. *
  5. * Use of this source code is governed by an MIT-style license that can be
  6. * found in the LICENSE file at https://angular.io/license
  7. */
  8. import { JsonValue } from '@angular-devkit/core';
  9. /**
  10. * Read a file and returns its content. This supports different file encoding.
  11. */
  12. export declare function readFile(fileName: string): string;
  13. export declare function readJsonFile(path: string): JsonValue;