We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d2bc07a commit c97827dCopy full SHA for c97827d
packages/core/tooling/index.ts
@@ -244,6 +244,6 @@ export function parseYaml(content: string): ReturnType<typeof yaml.parseDocument
244
return yaml.parseDocument(content);
245
}
246
247
-export function serializeYaml(data: unknown): string {
+export function serializeYaml(data: ReturnType<typeof yaml.parseDocument>): string {
248
return yaml.stringify(data, { singleQuote: true });
249
0 commit comments