Skip to content

Commit 00831e1

Browse files
authored
refactor(yaml): correct duplicate and usedDuplicates types (denoland#5398)
initial commit
1 parent 0db2aa0 commit 00831e1

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

yaml/_dumper.ts

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -162,10 +162,8 @@ export class DumperState {
162162
explicitTypes: Type[];
163163
tag: string | null = null;
164164
result = "";
165-
// deno-lint-ignore no-explicit-any
166-
duplicates: any[] = [];
167-
// deno-lint-ignore no-explicit-any
168-
usedDuplicates: Set<any> = new Set();
165+
duplicates: unknown[] = [];
166+
usedDuplicates: Set<unknown> = new Set();
169167
styleMap: ArrayObject<StyleVariant>;
170168
// deno-lint-ignore no-explicit-any
171169
dump: any;

0 commit comments

Comments
 (0)