settings.d.ts 518 B

12345678910111213141516
  1. import * as fs from './adapters/fs';
  2. export interface Options {
  3. followSymbolicLink?: boolean;
  4. fs?: Partial<fs.FileSystemAdapter>;
  5. markSymbolicLink?: boolean;
  6. throwErrorOnBrokenSymbolicLink?: boolean;
  7. }
  8. export default class Settings {
  9. private readonly _options;
  10. readonly followSymbolicLink: boolean;
  11. readonly fs: fs.FileSystemAdapter;
  12. readonly markSymbolicLink: boolean;
  13. readonly throwErrorOnBrokenSymbolicLink: boolean;
  14. constructor(_options?: Options);
  15. private _getValue;
  16. }