(name, tsNameFallback)
| 1083 | // property name on its owning domain class, where the class already implies the |
| 1084 | // domain (Network.InterceptPhase, not Network.NetworkInterceptPhase). |
| 1085 | function localSchemaName(name, tsNameFallback) { |
| 1086 | const dotIdx = name.indexOf('.') |
| 1087 | return dotIdx === -1 ? tsNameFallback : normalizeDottedName(name.slice(dotIdx + 1)) |
| 1088 | } |
| 1089 | |
| 1090 | // A valid JS identifier for an enum constant's key, derived from its wire value. |
| 1091 | // Unlike event/method names (always clean camelCase), some enum values are |
no test coverage detected