stringifyString.d.ts 363 B

123456789
  1. import { Scalar } from '../nodes/Scalar.js';
  2. import type { StringifyContext } from './stringify.js';
  3. interface StringifyScalar {
  4. value: string;
  5. comment?: string | null;
  6. type?: string;
  7. }
  8. export declare function stringifyString(item: Scalar | StringifyScalar, ctx: StringifyContext, onComment?: () => void, onChompKeep?: () => void): string;
  9. export {};