(value: any)
| 60 | } |
| 61 | |
| 62 | export function normalizeDebugBindingValue(value: any): string { |
| 63 | try { |
| 64 | // Limit the size of the value as otherwise the DOM just gets polluted. |
| 65 | return value != null ? value.toString().slice(0, 30) : value; |
| 66 | } catch (e) { |
| 67 | return '[ERROR] Exception while trying to serialize the value'; |
| 68 | } |
| 69 | } |
no test coverage detected
searching dependent graphs…