(
fn: Function,
{ methods, keys }: DroppedReportKeys
)
| 111 | // e.g. "the `flags` key isUnique passes to ctx.reject()", whose name the build |
| 112 | // prints as the function's source |
| 113 | const writeDroppedKeys = ( |
| 114 | fn: Function, |
| 115 | { methods, keys }: DroppedReportKeys |
| 116 | ): string => |
| 117 | `the ${listed(keys.map(k => `\`${k}\``))} ${keys.length > 1 ? "keys" : "key"} \`${functionNameOf(fn)}\` passes to ${listed(methods.map(method => `ctx.${method}()`))}` |
| 118 | |
| 119 | const raisableCodesByRoot = new WeakMap<BaseRoot, "any" | Set<ArkErrorCode>>() |
| 120 |
no test coverage detected