Website : rimsha.abasa.com
backdoor
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
var
/
canvas
/
node_modules
/
patch-package
/
node_modules
/
yaml
/
dist
/
stringify
/
Filename :
stringify.d.ts
back
Copy
import type { Document } from '../doc/Document.js'; import type { Alias } from '../nodes/Alias.js'; import type { ToStringOptions } from '../options.js'; export type StringifyContext = { actualString?: boolean; allNullValues?: boolean; anchors: Set<string>; doc: Document; forceBlockIndent?: boolean; implicitKey?: boolean; indent: string; indentStep: string; indentAtStart?: number; inFlow: boolean | null; inStringifyKey?: boolean; flowCollectionPadding: string; options: Readonly<Required<Omit<ToStringOptions, 'collectionStyle' | 'indent'>>>; resolvedAliases?: Set<Alias>; }; export declare function createStringifyContext(doc: Document, options: ToStringOptions): StringifyContext; export declare function stringify(item: unknown, ctx: StringifyContext, onComment?: () => void, onChompKeep?: () => void): string;