mirror of
https://codeberg.org/Kankys/NewLukasBlog.git
synced 2026-11-11 14:14:36 +01:00
OpravyPoAI
This commit is contained in:
1 parent
99aa797101
commit
24fd53c94c
4746 files changed
+700320
-12
No files matched your search
+21
@@ -0,0 +1,21 @@
|
||||
import type { Document } from '../doc/Document';
|
||||
import type { Alias } from '../nodes/Alias';
|
||||
import type { ToStringOptions } from '../options';
|
||||
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;
|
||||
Reference in new issue
Block a user