(methodName: string, ...args: Array<string>)
| 37 | } from '../storage'; |
| 38 | |
| 39 | const debug = (methodName: string, ...args: Array<string>) => { |
| 40 | if (__DEBUG__) { |
| 41 | console.log( |
| 42 | `%cAgent %c${methodName}`, |
| 43 | 'color: purple; font-weight: bold;', |
| 44 | 'font-weight: bold;', |
| 45 | ...args, |
| 46 | ); |
| 47 | } |
| 48 | }; |
| 49 | |
| 50 | type ElementAndRendererID = { |
| 51 | id: number, |