(version?: string)
| 20 | // TODO: update this to the first React version that has a corresponding DevTools backend |
| 21 | const FIRST_DEVTOOLS_BACKEND_LOCKSTEP_VER = '999.9.9'; |
| 22 | export function hasAssignedBackend(version?: string): boolean { |
| 23 | if (version == null || version === '') { |
| 24 | return false; |
| 25 | } |
| 26 | return gte(version, FIRST_DEVTOOLS_BACKEND_LOCKSTEP_VER); |
| 27 | } |
| 28 | |
| 29 | export function cleanForBridge( |
| 30 | data: Object | null, |
no test coverage detected