diff --git a/src/tools/yaml-viewer/yaml-models.ts b/src/tools/yaml-viewer/yaml-models.ts index 54569db8e..e07f28172 100644 --- a/src/tools/yaml-viewer/yaml-models.ts +++ b/src/tools/yaml-viewer/yaml-models.ts @@ -13,7 +13,7 @@ function formatYaml({ sortKeys?: MaybeRef indentSize?: MaybeRef }) { - const parsedYaml = yaml.parse(get(rawYaml)); + const parsedYaml = yaml.parse(get(rawYaml), { intAsBigInt: true }); const formattedYAML = yaml.stringify(parsedYaml, { sortMapEntries: get(sortKeys),