(methodName: string, ...args: Array<string>)
| 59 | import type {DevToolsHookSettings} from '../backend/types'; |
| 60 | |
| 61 | const debug = (methodName: string, ...args: Array<string>) => { |
| 62 | if (__DEBUG__) { |
| 63 | console.log( |
| 64 | `%cStore %c${methodName}`, |
| 65 | 'color: green; font-weight: bold;', |
| 66 | 'font-weight: bold;', |
| 67 | ...args, |
| 68 | ); |
| 69 | } |
| 70 | }; |
| 71 | |
| 72 | const LOCAL_STORAGE_COLLAPSE_ROOTS_BY_DEFAULT_KEY = |
| 73 | 'React::DevTools::collapseNodesByDefault'; |
no outgoing calls
no test coverage detected