We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b13849d commit a02f477Copy full SHA for a02f477
src/node/util.ts
@@ -414,18 +414,6 @@ export const open = async (address: URL | string): Promise<void> => {
414
})
415
}
416
417
-/**
418
- * For iterating over an enum's values.
419
- */
420
-// eslint-disable-next-line @typescript-eslint/no-explicit-any
421
-export const enumToArray = (t: any): string[] => {
422
- const values = [] as string[]
423
- for (const k in t) {
424
- values.push(t[k])
425
- }
426
- return values
427
-}
428
-
429
/**
430
* Return a promise that resolves with whether the socket path is active.
431
*/
0 commit comments