x/evt@v1.10.2/tools/typeSafety/objectKeys.ts

šŸ’§EventEmitter's typesafe replacement
GitHub Stars
382
Go to Latest

/** Object.keys() with types */export function objectKeys<T extends {}>(o: T): (keyof T)[] { return Object.keys(o) as any;}