Skip to content

Commit

Permalink
BREAKING(yaml): rename DumpOptions to StringifyOptions (#5171)
Browse files Browse the repository at this point in the history
  • Loading branch information
kt3k authored Jun 27, 2024
1 parent a7b4d89 commit 4052256
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions yaml/stringify.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import { replaceSchemaNameWithSchemaClass } from "./mod.ts";
/**
* The option for strinigfy.
*/
export type DumpOptions = {
export type StringifyOptions = {
/** Indentation width to use (in spaces). */
indent?: number;
/** When true, will not add an indentation level to array elements */
Expand Down Expand Up @@ -85,7 +85,7 @@ export type DumpOptions = {
*/
export function stringify(
data: unknown,
options?: DumpOptions,
options?: StringifyOptions,
): string {
replaceSchemaNameWithSchemaClass(options);
// deno-lint-ignore no-explicit-any
Expand Down

0 comments on commit 4052256

Please sign in to comment.