MCPcopy
hub / github.com/monkeytypegame/monkeytype / typedKeys

Function typedKeys

frontend/src/ts/utils/misc.ts:476–480  ·  view source on GitHub ↗
(
  obj: T,
)

Source from the content-addressed store, hash-verified

474}
475
476export function typedKeys<T extends object>(
477 obj: T,
478): T extends T ? (keyof T)[] : never {
479 return Object.keys(obj) as unknown as T extends T ? (keyof T)[] : never;
480}
481
482export function typedEntries<T extends object>(
483 obj: T,

Callers 14

hasAdditionalAuthMethodsFunction · 0.90
getScaleIdsMethod · 0.90
updateColorsFunction · 0.90
mergeWithDefaultFiltersFunction · 0.90
valueFunction · 0.90
AsyncContentFunction · 0.90
fromQueriesFunction · 0.90
fromCollectionsFunction · 0.90
setConfigFunction · 0.90
mergeWithDefaultConfigFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected