devsite/node_modules/yaml/dist/stringify/stringifyString.d.ts
2024-07-07 18:49:38 -07:00

10 lines
363 B
TypeScript

import { Scalar } from '../nodes/Scalar.js';
import type { StringifyContext } from './stringify.js';
interface StringifyScalar {
value: string;
comment?: string | null;
type?: string;
}
export declare function stringifyString(item: Scalar | StringifyScalar, ctx: StringifyContext, onComment?: () => void, onChompKeep?: () => void): string;
export {};