( object: Object, properties: Array<[string, string]>, indent: number, prefix: string, )
| 50 | } |
| 51 | |
| 52 | export function addObjectToProperties( |
| 53 | object: Object, |
| 54 | properties: Array<[string, string]>, |
| 55 | indent: number, |
| 56 | prefix: string, |
| 57 | ): void { |
| 58 | for (const key in object) { |
| 59 | if (hasOwnProperty.call(object, key) && key[0] !== '_') { |
| 60 | const value = object[key]; |
| 61 | addValueToProperties(key, value, properties, indent, prefix); |
| 62 | } |
| 63 | } |
| 64 | } |
| 65 | |
| 66 | export function addValueToProperties( |
| 67 | propertyName: string, |
no test coverage detected