Skip to content

Commit

Permalink
refactor(yaml): correct sortKeys type (#5397)
Browse files Browse the repository at this point in the history
initial commit
  • Loading branch information
timreichen authored Jul 11, 2024
1 parent 1841ba7 commit 0db2aa0
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 @@ -153,8 +153,7 @@ export class DumperState {
arrayIndent: boolean;
skipInvalid: boolean;
flowLevel: number;
// deno-lint-ignore no-explicit-any
sortKeys: boolean | ((a: any, b: any) => number);
sortKeys: boolean | ((a: string, b: string) => number);
lineWidth: number;
useAnchors: boolean;
compatMode: boolean;
Expand Down

0 comments on commit 0db2aa0

Please sign in to comment.