Skip to content

Commit

Permalink
refactor(yaml): correct testAmbiguousType type (#5399)
Browse files Browse the repository at this point in the history
initial commit
  • Loading branch information
timreichen authored Jul 11, 2024
1 parent 26d6d2b commit 8fa3522
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions yaml/_dumper.ts
Original file line number Diff line number Diff line change
Expand Up @@ -681,8 +681,7 @@ function chooseScalarStyle(
singleLineOnly: boolean,
indentPerLevel: number,
lineWidth: number,
// deno-lint-ignore no-explicit-any
testAmbiguousType: (...args: any[]) => any,
testAmbiguousType: (string: string) => boolean,
): number {
const shouldTrackWidth = lineWidth !== -1;
let hasLineBreak = false;
Expand Down

0 comments on commit 8fa3522

Please sign in to comment.