diff --git a/src/node/util.ts b/src/node/util.ts index 1bf43cd8996e3b975ed7427341f929e272623991..e33ed45857795d892dc58e6ab6083520ed3df4fa 100644 --- a/src/node/util.ts +++ b/src/node/util.ts @@ -414,18 +414,6 @@ export const open = async (address: URL | string): Promise => { }) } -/** - * For iterating over an enum's values. - */ -// eslint-disable-next-line @typescript-eslint/no-explicit-any -export const enumToArray = (t: any): string[] => { - const values = [] as string[] - for (const k in t) { - values.push(t[k]) - } - return values -} - /** * Return a promise that resolves with whether the socket path is active. */