bc30d645a28c0cf882dfcd69f98cb8880edea9c781f042a5e30a5b167a0a9a69206763f140d5ace879398ae3fe1f7e0450e8bee8601caaee31758e9ce9f901 655 B

123456789101112131415161718192021222324
  1. interface FormatOptions {
  2. /**
  3. * A String or Number object that's used to insert white space into the output JSON string for readability purposes.
  4. *
  5. * When provided, identation won't be auto detected anymore.
  6. */
  7. indent?: string | number;
  8. /**
  9. * Set to `false` to skip indentation preservation.
  10. */
  11. preserveIndentation?: boolean;
  12. /**
  13. * Set to `false` to skip whitespace preservation.
  14. */
  15. preserveWhitespace?: boolean;
  16. /**
  17. * The number of characters to sample from the start of the text.
  18. *
  19. * Default: 1024
  20. */
  21. sampleSize?: number;
  22. }
  23. export type { FormatOptions as F };