Skip to content

Commit

Permalink
Any is OK
Browse files Browse the repository at this point in the history
  • Loading branch information
webpro committed May 27, 2024
1 parent 3ab95ef commit 28ad084
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/knip/src/util/serialize.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import type { SerializableFile } from '../types/serializable-map.js';
const keys = new Set(['importedAs', 'reExportedBy', 'reExportedAs', 'reExportedNs']);

// biome-ignore lint/suspicious/noExplicitAny: TODO
const setisfy = (obj: any) => {
const setisfy = (obj: any): any => {
if (obj instanceof Set) return Array.from(obj);
if (obj instanceof Map) return setisfy(Object.fromEntries(obj.entries()));
if (typeof obj === 'object')
Expand Down

0 comments on commit 28ad084

Please sign in to comment.