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.
YamlConversion.yaml
1 parent 30424a6 commit 18147ecCopy full SHA for 18147ec
src/index/types/yaml.ts
@@ -16,7 +16,7 @@ export type YamlLiteral = string | number | boolean | null | Record<string, any>
16
export namespace YamlConversion {
17
/** Convert a literal into a yaml friendly representation. */
18
export function yaml(value: Literal): YamlLiteral {
19
- const wrapped = Literals.wrapValue(literal);
+ const wrapped = Literals.wrapValue(value);
20
if (!wrapped) return null;
21
22
switch (wrapped.type) {
0 commit comments