(params: Record<string, unknown>, key: string)
| 177 | } |
| 178 | |
| 179 | function readStringParam(params: Record<string, unknown>, key: string): string | undefined { |
| 180 | const value = params[key]; |
| 181 | return typeof value === 'string' ? value : undefined; |
| 182 | } |
| 183 | |
| 184 | function readIntParam(params: Record<string, unknown>, key: string): number | undefined { |
| 185 | const value = params[key]; |
no outgoing calls
no test coverage detected