UNPKG

object-set-all-values-to

Version:

Recursively walk the input and set all found values in plain objects to something

9 lines (7 loc) 192 B
declare const version: string; interface Obj { [key: string]: any; } declare function setAllValuesTo(input: Obj, value?: any): Obj; export { setAllValuesTo, version }; export type { Obj };